FROM nginx:alpine COPY build /usr/share/nginx/html COPY deploy/entrypoint.sh /entrypoint.sh COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf ENV BACKEND_ADDRESS="http://localhost:31000" ENV BACKEND_TIMEOUT=10000 RUN chmod +x /entrypoint.sh EXPOSE 80 CMD ["/entrypoint.sh"]