8 lines
294 B
Docker
8 lines
294 B
Docker
# nginxinc/nginx-unprivileged runs as uid 101 on port 8080 — no root needed
|
|
FROM docker.io/nginxinc/nginx-unprivileged:alpine
|
|
|
|
# Copy app files
|
|
COPY --chown=101:101 index.html app.js /usr/share/nginx/html/
|
|
COPY --chown=101:101 nginx-container.conf /etc/nginx/conf.d/default.conf
|
|
|
|
EXPOSE 8080
|