add non root user

This commit is contained in:
Léo Haf 2024-10-25 18:01:09 +02:00
parent ff699dbe1a
commit de24ac2abb
Signed by: Retropex
GPG Key ID: 0E37EBAB8574F005

View File

@ -20,6 +20,10 @@ WORKDIR /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.description Datum in a container