Skip to content

Commit

Permalink
fix: beda scope cik
Browse files Browse the repository at this point in the history
  • Loading branch information
reacto11mecha committed Oct 7, 2024
1 parent 848fac5 commit 5ed61ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/processor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ EOF
# apt-get install tree
# tree /vote-processor
# EOF
RUN apt-get install tree

FROM base AS runner
# Don't run production as root
Expand All @@ -59,6 +58,8 @@ RUN <<EOF
adduser --system --uid 1001 processor
EOF

RUN apt-get install tree

USER processor

COPY --from=builder --chown=processor:nodejs /vote-processor /vote-processor
Expand Down

0 comments on commit 5ed61ad

Please sign in to comment.