Skip to content

Commit 97f5c76

Browse files
authored
Clean up Dockerfile by removing unused COPY commands
Remove unnecessary config and migrations copy commands.
1 parent 382f1c2 commit 97f5c76

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

backend/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ WORKDIR /app
2222

2323
# Copy built application
2424
COPY --from=builder --chown=nonroot:nonroot /app/backend_app ./
25-
COPY --chown=nonroot:nonroot config.toml ./
26-
COPY --chown=nonroot:nonroot migrations ./migrations/
2725

2826
# Expose port
2927
EXPOSE 8201
3028

3129
# Default command
32-
ENTRYPOINT ["./backend_app"]
30+
ENTRYPOINT ["./backend_app"]

0 commit comments

Comments
 (0)