Move to static-web-server for native rootless

This commit is contained in:
2026-01-22 19:20:36 +00:00
parent 06c827a286
commit fdfa8a9a6d
3 changed files with 11 additions and 15 deletions

View File

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