Edited Dockerfile
This commit is contained in:
parent
2fd43d9490
commit
d60bbd8592
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
|||
FROM node:24-alpine as build
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN npm i
|
||||
RUN npm run docs:dev
|
||||
RUN npm run docs:build
|
||||
|
||||
FROM nginx:1-alpine as prod
|
||||
COPY --from=build ./.vitepress/dist/ /usr/share/nginx/html
|
||||
COPY --from=build /app/.vitepress/dist/ /usr/share/nginx/html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue