This commit is contained in:
11
gateway/Dockerfile-kubernetes
Normal file
11
gateway/Dockerfile-kubernetes
Normal file
@@ -0,0 +1,11 @@
|
||||
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;'"
|
Reference in New Issue
Block a user