mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-05 13:17:42 +08:00
10 lines
292 B
Docker
10 lines
292 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;"] |