mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 14:56:01 +00:00
fix - romm user added to nginx config and dockerfile
This commit is contained in:
@@ -84,6 +84,7 @@ RUN rm -r \
|
||||
# Move everything we prepared over to our final docker image
|
||||
FROM scratch
|
||||
COPY --from=production-stage / /
|
||||
RUN addgroup -g 1000 -S romm && adduser -u 1000 -D -S -G romm romm
|
||||
|
||||
# Expose ports and start
|
||||
EXPOSE 8080
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
user www-data;
|
||||
user romm;
|
||||
worker_processes auto;
|
||||
pid /tmp/nginx.pid;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user