fix - romm user added to nginx config and dockerfile

This commit is contained in:
zurdi
2023-10-25 01:33:45 +02:00
parent 69d65c7bf4
commit 7001511e26
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -1,4 +1,4 @@
user www-data;
user romm;
worker_processes auto;
pid /tmp/nginx.pid;