Skip to content

Commit e74ca18

Browse files
authored
sre-924 Adds uuid to docker image nonroot user (#53)
1 parent 9de63a5 commit e74ca18

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ FROM base AS prod
2121

2222
COPY src/*.py ./
2323

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

0 commit comments

Comments
 (0)