official nginx image is now the base

This commit is contained in:
Andy 2016-05-20 15:29:15 +02:00
parent 9ca37fe239
commit d4a30111b1
Signed by: arno
GPG Key ID: 368DDA2E9A471EAC

View File

@ -1,12 +1,12 @@
FROM alpine:3.3
FROM nginx
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
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get -y install inotify-tools
COPY nginx.conf /etc/nginx/nginx.conf
COPY launch /launch
ENTRYPOINT /launch