Move to static-web-server for native rootless
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -1,5 +1,10 @@
|
||||
FROM nginx:latest
|
||||
FROM joseluisq/static-web-server:2.40
|
||||
ENV SERVER_PORT=8080
|
||||
ENV SERVER_HOST=0.0.0.0
|
||||
ENV SERVER_ROOT=/public
|
||||
ENV SERVER_LOG_LEVEL=info
|
||||
|
||||
COPY . /usr/share/nginx/html
|
||||
COPY . /public
|
||||
|
||||
EXPOSE 80
|
||||
USER 61919
|
||||
EXPOSE 8080
|
||||
Reference in New Issue
Block a user