chore [P-01]: docfix
This commit is contained in:
1 parent
f868a3f989
commit
10923a6600
4 files changed
+8
-8
No files matched your search
@@ -4,14 +4,13 @@ FROM node:lts-alpine
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
RUN npm install @babel/plugin-proposal-unicode-property-regex \
|
||||
RUN npm cache clean --force && npm install @babel/plugin-proposal-unicode-property-regex \
|
||||
@babel/preset-env @babel/preset-modules \
|
||||
babel-jest @babel/runtime @babel/plugin-transform-runtime
|
||||
WORKDIR /app/documentation/
|
||||
|
||||
WORKDIR /app/documentation
|
||||
# Очистить кэш npm и установить необходимые пакеты
|
||||
|
||||
RUN npm install vitepress vue-md-parser @vue/vue3-jest \
|
||||
RUN npm cache clean --force && npm install --prefix ./ vitepress vue-md-parser @vue/vue3-jest \
|
||||
@babel/plugin-proposal-unicode-property-regex \
|
||||
@babel/preset-env @babel/preset-modules babel-jest @babel/runtime \
|
||||
axios @babel/plugin-transform-runtime \
|
||||
@@ -31,4 +30,4 @@ WORKDIR /app/documentation/
|
||||
# Держать контейнер запущенным
|
||||
# CMD ["tail", "-f", "/dev/null"]
|
||||
# Раскомментируйте следующую строку, чтобы запустить приложение
|
||||
CMD ["sh", "-c", "npx vue-md-parser && npx jest && npx vitepress dev docs --host 0.0.0.0"]
|
||||
# CMD ["sh", "-c", "npx vue-md-parser && npx jest && npx vitepress dev docs --host 0.0.0.0"]
|
||||
Reference in new issue
Block a user