diff --git a/.github/file-filters.yml b/.github/file-filters.yml index 2579804c..c9602022 100644 --- a/.github/file-filters.yml +++ b/.github/file-filters.yml @@ -1,6 +1,7 @@ # This is used by the action https://github.com/dorny/paths-filter docker: &docker - - added|modified: './docker/**' + - added|modified: './docker/**/*' + - added|modified: './docker/*' dependencies: &dependencies - 'pdm.lock' diff --git a/docker/Dockerfile b/docker/Dockerfile index 13df5e25..12de2cc2 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -208,6 +208,8 @@ ENV GITHUB_REPOSITORY=$GITHUB_REPOSITORY WORKDIR /code COPY --chown=user:app --from=python_prod_deps /code/__pypackages__ /code/__pypackages__ +COPY --chown=user:app --from=python_prod_deps /code/README.md /code/LICENSE / + ENV PATH=${APATH}:${PATH} \ PYTHONPATH=${APYTHONPATH} \ PYTHONDBUFFERED=1 \ @@ -229,8 +231,8 @@ ENTRYPOINT exec docker-entrypoint.sh "$0" "$@" CMD ["run"] LABEL distro="final" -LABEL maintainer="hope@app.io" -LABEL org.opencontainers.image.authors="author@app.io" +LABEL maintainer="hope@unicef.org" +LABEL org.opencontainers.image.authors="hope@unicef.org" LABEL org.opencontainers.image.created="$BUILD_DATE" LABEL org.opencontainers.image.description="App runtime image" LABEL org.opencontainers.image.documentation="https://github.com/saxix/trash"