1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-12-25 12:06:31 +00:00

upgrade to docker-gen 0.3.6

This commit is contained in:
Jason Wilder 2014-11-25 18:53:43 -07:00
parent 20093a1f83
commit 7c4d0d22ac

View File

@ -21,7 +21,7 @@ RUN echo "daemon off;" >> /etc/nginx/nginx.conf \
RUN wget -P /usr/local/bin https://godist.herokuapp.com/projects/ddollar/forego/releases/current/linux-amd64/forego \
&& chmod u+x /usr/local/bin/forego
ENV DOCKER_GEN_VERSION 0.3.4
ENV DOCKER_GEN_VERSION 0.3.6
RUN wget https://github.com/jwilder/docker-gen/releases/download/$DOCKER_GEN_VERSION/docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz \
&& tar -C /usr/local/bin -xvzf docker-gen-linux-amd64-$DOCKER_GEN_VERSION.tar.gz \
@ -30,8 +30,7 @@ RUN wget https://github.com/jwilder/docker-gen/releases/download/$DOCKER_GEN_VER
COPY . /app/
WORKDIR /app/
EXPOSE 80
EXPOSE 80 443
ENV DOCKER_HOST unix:///tmp/docker.sock
CMD ["forego", "start", "-r"]