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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user