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

16 lines
200 B
Docker
Raw Normal View History

2015-07-01 19:57:52 +08:00
#
# Dockerfile for nginx
#
FROM alpine
2017-05-08 07:05:07 +08:00
MAINTAINER kev <noreply@easypi.pro>
2015-07-01 19:57:52 +08:00
2016-06-20 22:42:27 +08:00
RUN set -xe \
&& apk add --no-cache nginx \
&& mkdir -p /run/nginx
2016-02-24 11:23:49 +08:00
2015-07-01 19:57:52 +08:00
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]