diff --git a/Dockerfile b/Dockerfile index 8afc45d4f8d7..994fe539fae5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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}