mirror of
https://github.com/Retropex/datum-docker.git
synced 2025-05-12 19:20:47 +02:00
add non root user
This commit is contained in:
parent
ff699dbe1a
commit
de24ac2abb
@ -20,6 +20,10 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY --from=build /app/datum_gateway /app
|
COPY --from=build /app/datum_gateway /app
|
||||||
|
|
||||||
|
RUN adduser --disabled-password --no-create-home --gecos "" datum
|
||||||
|
|
||||||
|
USER datum
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source https://github.com/retropex/datum-docker
|
LABEL org.opencontainers.image.source https://github.com/retropex/datum-docker
|
||||||
|
|
||||||
LABEL org.opencontainers.image.description Datum in a container
|
LABEL org.opencontainers.image.description Datum in a container
|
||||||
|
Loading…
Reference in New Issue
Block a user