github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/site/Dockerfile (about)

     1  FROM nginx:1.18.0-alpine
     2  COPY . /usr/share/nginx/html
     3  COPY site_check.conf /etc/nginx/conf.d/configfile.template
     4  
     5  ENV PORT 80
     6  ENV HOST 0.0.0.0
     7  EXPOSE 80
     8  RUN sh -c "envsubst '\$PORT' < /etc/nginx/conf.d/configfile.template > /etc/nginx/conf.d/default.conf"
     9  CMD ["nginx", "-g", "daemon off;"]