official nginx image is now the base
This commit is contained in:
parent
9ca37fe239
commit
d4a30111b1
12
Dockerfile
12
Dockerfile
@ -1,12 +1,12 @@
|
|||||||
FROM alpine:3.3
|
FROM nginx
|
||||||
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
|
MAINTAINER Andrey Arapov <andrey.arapov@nixaid.com>
|
||||||
|
|
||||||
RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/main' >> /etc/apk/repositories && \
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
apk update && \
|
|
||||||
apk add nginx@edge inotify-tools ca-certificates && \
|
RUN apt-get update && \
|
||||||
mkdir /tmp/nginx && \
|
apt-get -y install inotify-tools
|
||||||
chown nginx /var/lib/nginx /var/lib/nginx/tmp
|
|
||||||
|
|
||||||
COPY nginx.conf /etc/nginx/nginx.conf
|
COPY nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY launch /launch
|
COPY launch /launch
|
||||||
|
|
||||||
ENTRYPOINT /launch
|
ENTRYPOINT /launch
|
||||||
|
Loading…
Reference in New Issue
Block a user