Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
addressing feedback
Browse files Browse the repository at this point in the history
dmeenaarmorcode committed Jan 28, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent ed04a41 commit edaa9a3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions web-agent/Dockerfile
Original file line number Diff line number Diff line change
@@ -17,7 +17,8 @@ RUN apk update && \



RUN addgroup -S -g 1000 appgroup && adduser -S -u 1000 -G appgroup appuser
RUN addgroup -g 1001 appgroup && adduser -D -u 1001 -G appgroup 1001


WORKDIR /usr/src/app

@@ -29,9 +30,9 @@ COPY app/* ./
RUN chmod +x /usr/src/app/worker.py && \
mkdir -p /tmp/armorcode/ && \
mkdir -p /tmp/armorcode/log/ && \
chown -R appuser:appgroup /usr/src /tmp/armorcode
chown -R 1001:1001 /usr/src /tmp/armorcode

USER appuser
USER 1001

ENTRYPOINT ["/usr/src/entrypoint.sh"]

0 comments on commit edaa9a3

Please sign in to comment.