2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-24 14:31:51 +01:00

update nginx

This commit is contained in:
kev
2016-02-24 11:23:49 +08:00
parent 09f15d569e
commit b0724f785e
2 changed files with 26 additions and 6 deletions

View File

@@ -5,10 +5,12 @@
FROM alpine
MAINTAINER kev <noreply@datageek.info>
RUN apk add -U nginx \
RUN set -xe \
&& apk add -U nginx \
&& rm -rf /var/cache/apk/*
VOLUME /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]