Copy assets as part of npm postbuild

This commit is contained in:
3nprob
2021-10-08 03:38:31 +09:00
parent 9fa22e5200
commit dbb0906312
2 changed files with 1 additions and 4 deletions

View File

@@ -11,10 +11,6 @@ RUN npm run build
FROM node:16-slim
COPY --from=builder /app/dist/ /app/
COPY --from=builder /app/package.json /app/
COPY --from=builder /app/package-lock.json /app/
COPY --from=builder /app/static/ /app/static/
COPY --from=builder /app/templates/ /app/templates/
WORKDIR /app