summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 5c5db6fcd7251948a731bfba5aad308b4fc64e55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# DOCKER-VERSION 1.7.0

FROM alpine:3.3
MAINTAINER kballou@devnulllabs.io

RUN apk update && apk add \
    nginx

ADD ./nginx.conf /etc/nginx/nginx.conf

VOLUME ["/etc/nginx/ssl", "/etc/nginx/sites", "/srv/www", "/var/log/nginx"]

WORKDIR /etc/nginx

EXPOSE 80
EXPOSE 443

CMD ["nginx"]