diff --git a/Dockerfile b/Dockerfile index 1992b9fd..02a5f2cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ FROM node:20-alpine COPY --from=builder /usr/local/app/dist /usr/local/app/dist WORKDIR /usr/local/app +COPY --from=build /app/dist . COPY package*.json . COPY server.js . @@ -18,4 +19,4 @@ RUN npm i --save-exact express vite-express ENV PORT 8080 EXPOSE 8080 -ENTRYPOINT sh -c "./dist/vite-envs.sh && npm run prod" \ No newline at end of file +ENTRYPOINT sh -c "./vite-envs.sh && npm run prod" \ No newline at end of file