diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..e454131 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +**/*.egg-info/ +**/__pycache__/ diff --git a/Dockerfile b/Dockerfile index ab36f34..249ec93 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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