diff --git a/Dockerfile b/Dockerfile index 811c780..abb14d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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