1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-04-23 12:08:49 +02:00
dockerfiles/nginx/Dockerfile

17 lines
228 B
Docker
Raw Normal View History

2015-07-01 19:57:52 +08:00
#
# Dockerfile for nginx
#
FROM alpine
MAINTAINER kev <noreply@datageek.info>
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;"]