nginx/Dockerfile

13 lines
395 B
Docker
Raw Normal View History

2016-04-20 17:40:22 +00:00
FROM alpine:3.3
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
2016-05-03 07:21:45 +00:00
RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories && \
2016-04-20 17:40:22 +00:00
apk update && \
2016-05-03 07:21:45 +00:00
apk add nginx@edge inotify-tools ca-certificates && \
mkdir /tmp/nginx && \
chown nginx /var/lib/nginx /var/lib/nginx/tmp
2016-04-20 17:40:22 +00:00
COPY nginx.conf /etc/nginx/nginx.conf
COPY launch /launch
ENTRYPOINT /launch