Move to static-web-server for native rootless
This commit is contained in:
@@ -1,2 +1,4 @@
|
|||||||
.git
|
.git
|
||||||
git
|
git
|
||||||
|
.gitea
|
||||||
|
README.md
|
||||||
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
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
version: "3.8"
|
|
||||||
|
|
||||||
services:
|
|
||||||
web:
|
|
||||||
image: git.fjla.uk/fred.boniface/scripts:latest
|
|
||||||
ports:
|
|
||||||
- "4321:80"
|
|
||||||
deploy:
|
|
||||||
replicas: 1
|
|
||||||
restart_policy:
|
|
||||||
condition: on_failure
|
|
||||||
Reference in New Issue
Block a user