add nginx official container

This commit is contained in:
Simon Larsen
2023-07-11 22:15:34 +01:00
parent fc59f65fca
commit da3f02f855
3 changed files with 1 additions and 14 deletions

View File

View File

@@ -1,6 +0,0 @@
FROM nginx:1.23.3-alpine
USER root
# Install bash.
RUN apk update && apk add bash && apk add curl

View File

@@ -705,14 +705,7 @@ services:
- home
- notification
restart: always
{{ if or (eq .Env.ENVIRONMENT "development") (eq .Env.ENVIRONMENT "ci") }}
build:
network: host
context: .
dockerfile: ./Nginx/Dockerfile
{{ else }}
image: oneuptime/nginx:{{ .Env.APP_TAG }}
{{ end }}
image: nginx:1.23.3-alpine
ports:
- '80:80'
volumes: