Rainbond/hack/contrib/docker/resource-proxy/Dockerfile
2020-11-25 16:54:51 +08:00

10 lines
291 B
Docker

FROM nginx:1.19
VOLUME ["/data/nginx/cache"]
ENV RELEASE_DESC=${RELEASE_DESC}
COPY resource-proxy.conf /etc/nginx/conf.d/
ADD docker-entrypoint.sh /run/docker-entrypoint.sh
RUN chmod +x /run/docker-entrypoint.sh
ENTRYPOINT [ "/run/docker-entrypoint.sh" ]
CMD ["nginx", "-g", "daemon off;"]