Set right user to run

Change user to run rootless.
This commit is contained in:
Dedy Martadinata S authored and nitnelave committed 2022-07-01 09:04:52 +02:00
1 parent 429952c46f
commit ea82b1a644
1 file changed
+1 -1
+1 -1
View File
@@ -63,6 +63,6 @@ RUN apt update && \
COPY --from=lldap --chown=$CONTAINERUSER:$CONTAINERUSER /lldap /app
COPY --from=lldap --chown=$CONTAINERUSER:$CONTAINERUSER /docker-entrypoint.sh /docker-entrypoint.sh
WORKDIR /app
USER $CONTAINERUSER
USER $USER
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
CMD ["run", "--config-file", "/data/lldap_config.toml"]