deploy: copy static files during build stage

Pedro Lucas Porcellis porcellis@eletrotupi.com 7 days ago 150a90ad667c31c7374ad5e775cc5343adb934a4
Parents: 1270eee
1 file(s) changed
  • api/Dockerfile.production +2 -0
api/Dockerfile.production
@@ -22,6 +22,8 @@
22 22 # Compile TS and spit on dist/
23 23 RUN npm run build
24 24
25 + RUN cp -r src/static dist/static
26 +
25 27 # Runtime stage
26 28 FROM node:24-alpine3.23
27 29