asd
This commit is contained in:
1 parent
ff9cce42da
commit
7502cf513c
6 files changed
+8
-3
No files matched your search
@@ -12,6 +12,7 @@ WORKDIR /app
|
|||||||
COPY --chown=app:app package.json ./
|
COPY --chown=app:app package.json ./
|
||||||
# COPY package-lock.json ./ # Раскомментируйте эту строку, если у вас есть package-lock.json
|
# COPY package-lock.json ./ # Раскомментируйте эту строку, если у вас есть package-lock.json
|
||||||
COPY --chown=app:app ./docs/ ./docs/
|
COPY --chown=app:app ./docs/ ./docs/
|
||||||
|
# COPY --chown=app:app ./node_modules ./node_modules
|
||||||
# Очищаем кэш npm и устанавливаем зависимости
|
# Очищаем кэш npm и устанавливаем зависимости
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -14,8 +14,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./docs:/app/docs
|
- ./docs:/app/docs
|
||||||
- ./src/front:/app/src/front
|
- ./src/front:/app/src/front
|
||||||
- /app/node_modules
|
|
||||||
- /app/src/front/node_modules
|
|
||||||
ports:
|
ports:
|
||||||
- "3000:3000"
|
- "3000:3000"
|
||||||
- "5173:5173"
|
- "5173:5173"
|
||||||
|
|||||||
Generated
+1
@@ -4,6 +4,7 @@
|
|||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"commitlint": "^19.7.1"
|
"commitlint": "^19.7.1"
|
||||||
},
|
},
|
||||||
|
|||||||
+2
-1
@@ -7,7 +7,8 @@
|
|||||||
"docs:build": "vitepress build docs",
|
"docs:build": "vitepress build docs",
|
||||||
"docs:preview": "vitepress preview docs",
|
"docs:preview": "vitepress preview docs",
|
||||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
||||||
"githooks": "git config core.hooksPath .git-hooks",
|
"prepare2": "git config core.hooksPath .git-hooks",
|
||||||
|
"postinstall2":"vitepress init ./docs",
|
||||||
"lint-staged": "lint-staged",
|
"lint-staged": "lint-staged",
|
||||||
"commitlint": "commitlint --edit"
|
"commitlint": "commitlint --edit"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
slim
|
slim
|
||||||
>
|
>
|
||||||
<template v-slot:prepend>
|
<template v-slot:prepend>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
>
|
>
|
||||||
<v-icon :icon="feedalert.ico" />
|
<v-icon :icon="feedalert.ico" />
|
||||||
|
|
||||||
<span class="pl-2 text-body-2">
|
<span class="pl-2 text-body-2">
|
||||||
{{ feedalert.text }}
|
{{ feedalert.text }}
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
Reference in new issue
Block a user