1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-28 05:36:33 +02:00
dockerfiles/nginx/Dockerfile

17 lines
226 B
Docker
Raw Normal View History

2015-07-01 19:57:52 +08:00
#
# Dockerfile for nginx
#
FROM alpine
2016-05-01 09:06:20 +08:00
MAINTAINER kev <noreply@easypi.info>
2015-07-01 19:57:52 +08:00
2016-02-24 11:23:49 +08:00
RUN set -xe \
&& apk add -U nginx \
2015-07-01 19:57:52 +08:00
&& rm -rf /var/cache/apk/*
VOLUME /usr/share/nginx/html
2016-02-24 11:23:49 +08:00
2015-07-01 19:57:52 +08:00
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]