mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-05 09:21:23 +02:00
Update Dockerfile
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ COPY config.template /app/config.ini
|
||||
RUN chmod +x /app/script/docker/entrypoint.sh
|
||||
|
||||
# Add a non-root user and switch to it
|
||||
RUN useradd -m appuser
|
||||
RUN useradd -m appuser && usermod -a -G dialout appuser
|
||||
USER appuser
|
||||
|
||||
ENTRYPOINT ["/bin/bash", "/app/script/docker/entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user