Skip to content

Commit

Permalink
avoid chown
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Jun 24, 2024
1 parent 3a413e3 commit 8e54858
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,7 @@ FROM api-runtime-private as saas-api
RUN --mount=type=secret,id=sse_pgp_pkey \
apt-get update && apt-get install -y gnupg && \
gpg --import /run/secrets/sse_pgp_pkey && \
mv /root/.gnupg /app/; \
chown -R nobody /app/.gnupg
mv /root/.gnupg/ /app/

ARG PYTHON_SITE_DIR
COPY --from=build-python-private ${PYTHON_SITE_DIR} ${PYTHON_SITE_DIR}
Expand Down

0 comments on commit 8e54858

Please sign in to comment.