chore [P-01]: доки работают
This commit is contained in:
1 parent
7eb4305d03
commit
99ed3cf799
38 files changed
+84
-67186
No files matched your search
@@ -10,18 +10,20 @@ RUN npm install @babel/plugin-proposal-unicode-property-regex \
|
||||
WORKDIR /app/documentation/
|
||||
|
||||
# Очистить кэш npm и установить необходимые пакеты
|
||||
|
||||
RUN npm install 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 \
|
||||
babel-jest jest jest-environment-jsdom @jest/globals \
|
||||
@vue/cli-plugin-babel @vue/compiler-dom @vue/server-renderer @vue/test-utils \
|
||||
jest-transform-stub
|
||||
RUN mkdir -p /app/documentation/docs/public/test-coverage/src/
|
||||
RUN chmod 777 /app/documentation/docs/public/test-coverage/src/
|
||||
jest-transform-stub && \
|
||||
mkdir -p /app/documentation/docs/public/test-coverage/src/ &&\
|
||||
chmod 777 /app/documentation/docs/public/test-coverage/src/
|
||||
|
||||
COPY ./documentation/babel.config.cjs /app
|
||||
WORKDIR /app/src/front/
|
||||
|
||||
COPY ./src/front/package.json .
|
||||
RUN npm cache clean --force && npm install
|
||||
# Открыть порт для VitePress
|
||||
EXPOSE 5173
|
||||
|
||||
Reference in new issue
Block a user