Skip to content

Commit

Permalink
fix: correctly copy resources
Browse files Browse the repository at this point in the history
  • Loading branch information
AiroPi committed Jan 6, 2025
1 parent 29a38b7 commit f1ec6f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/*.egg-info/
**/__pycache__/
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ FROM python:3.12.0-alpine AS base
# https://docs.docker.com/reference/dockerfile/#copy---parents
COPY --parents --from=build /app/.venv /
WORKDIR /app
COPY ./resources ./
COPY ./resources ./resources
COPY ./src ./
ENV PATH="/app/.venv/bin:$PATH"
ENV PYTHONUNBUFFERED=0
Expand Down

0 comments on commit f1ec6f3

Please sign in to comment.