Hexo-Async-Offends/gateway/Dockerfile-kubernetes
offends 4cefd4b9d7
All checks were successful
continuous-integration/drone Build is passing
synchronization
2024-07-19 17:03:39 +08:00

11 lines
280 B
Plaintext

ARG IMAGENAME
FROM ${IMAGENAME}
ENV DOMAIN_NAME=default
EXPOSE 80
COPY ./default.conf.template /etc/nginx/conf.d/default.conf.template
CMD /bin/sh -c "envsubst '\$localhost' < /etc/nginx/conf.d/default.conf.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'"