nginx/Dockerfile

13 lines
395 B
Docker

FROM alpine:3.3
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories && \
apk update && \
apk add nginx@edge inotify-tools ca-certificates && \
mkdir /tmp/nginx && \
chown nginx /var/lib/nginx /var/lib/nginx/tmp
COPY nginx.conf /etc/nginx/nginx.conf
COPY launch /launch
ENTRYPOINT /launch