# A custom nginx image including our static assets. This (mostly) works when running # in Cloud Run, with $PORT usually provided as "8000", but with sidecar containers # listening on 127.0.0.1 (which is different to Docker compose, where services have # their own service name on a shared network). FROM nginx:1.28-alpine ENV APP_PORT=8000 ENV APP_HOST=127.0.0.1 ENV PORT=80 RUN rm /usr/share/nginx/html/index.html COPY nginx-default.conf.template /etc/nginx/templates/default.conf.template COPY static /usr/share/nginx/html/