Skip to content

Commit

Permalink
build: meet security requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
LeslieLeung committed Jan 3, 2024
1 parent 6935507 commit f0319ac
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
FROM alpine:latest
FROM alpine:3.19.0

RUN addgroup -S nonroot \
&& adduser -S nonroot -G nonroot

USER nonroot

WORKDIR /app
COPY config /app/config
COPY app /app/app
Expand Down

0 comments on commit f0319ac

Please sign in to comment.