From d4a30111b12a19be586379580eea09714eda762b Mon Sep 17 00:00:00 2001 From: Andrey Arapov Date: Fri, 20 May 2016 15:29:15 +0200 Subject: [PATCH] official nginx image is now the base --- Dockerfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6bb927b..65c49d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM alpine:3.3 +FROM nginx MAINTAINER Andrey Arapov -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