Edited Dockerfile

This commit is contained in:
Phil 2025-05-29 09:13:46 +02:00
parent 2fd43d9490
commit d60bbd8592

View file

@ -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