Skip to content

Commit

Permalink
chown
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 committed Jun 24, 2024
1 parent 9906aff commit d5162f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/api-deploy-staging-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
- api/**
- .github/**
- infrastructure/aws/staging/**
- fix/ecs-deploy-secrets
workflow_dispatch:

jobs:
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ 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/
mv /root/.gnupg/ /app/ && \
chown -R nobody /app/.gnupg/

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

0 comments on commit d5162f9

Please sign in to comment.