Update Dockerfile to include template files in the build process

- Added a line to copy template files from the build stage to the final image, ensuring that necessary templates are available in the application directory.
This commit is contained in:
2025-11-07 12:24:39 +01:00
parent 78ebe7e6ba
commit 6cd45c254b

View File

@@ -21,6 +21,7 @@ WORKDIR /app
# Copy necessary files
COPY --from=deps /app/node_modules ./node_modules
COPY --from=build /app/dist ./dist
COPY --from=build /app/src/templates ./src/templates
COPY --from=build /app/server.js ./server.js
COPY --from=build /app/package.json ./package.json
COPY --from=build /app/.env ./.env