mirror of
https://github.com/vimagick/dockerfiles
synced 2024-07-01 03:01:29 +00:00
update nginx
This commit is contained in:
parent
c5ff20a50a
commit
9591c062e3
@ -3,13 +3,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
|
||||||
MAINTAINER kev <noreply@easypi.info>
|
MAINTAINER kev <noreply@easypi.info>
|
||||||
|
|
||||||
RUN set -xe \
|
RUN apk add --no-cache nginx
|
||||||
&& apk add -U nginx \
|
|
||||||
&& rm -rf /var/cache/apk/*
|
|
||||||
|
|
||||||
VOLUME /usr/share/nginx/html
|
|
||||||
|
|
||||||
EXPOSE 80
|
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