Skip to content

Commit

Permalink
sre-924 Adds uuid to docker image nonroot user (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfranco authored Feb 24, 2023
1 parent 9de63a5 commit e74ca18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ FROM base AS prod

COPY src/*.py ./

RUN useradd -r -s /sbin/nologin nonroot
RUN useradd -r -s /sbin/nologin -u 999 nonroot
USER nonroot
EXPOSE 8080
CMD [ "python", "exporter.py" ]

0 comments on commit e74ca18

Please sign in to comment.