mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
update nginx
This commit is contained in:
parent
c5ff20a50a
commit
9591c062e3
@ -3,13 +3,10 @@
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U nginx \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
VOLUME /usr/share/nginx/html
|
||||
RUN apk add --no-cache nginx
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
|
13
nginx/arm/Dockerfile
Normal file
13
nginx/arm/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
#
|
||||
# Dockerfile for nginx-arm
|
||||
#
|
||||
|
||||
FROM easypi/alpine-arm
|
||||
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN apk add --no-cache nginx
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
8
nginx/arm/docker-compose.yml
Normal file
8
nginx/arm/docker-compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
nginx:
|
||||
image: easypi/nginx-arm
|
||||
ports:
|
||||
- "80:80"
|
||||
volumes:
|
||||
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||
- ./html:/usr/share/nginx/html
|
||||
restart: always
|
Loading…
Reference in New Issue
Block a user