chatpad/Dockerfile
2023-03-26 23:46:18 +03:00

14 lines
353 B
Docker

FROM nginx:alpine
# Copy the nginx configuration
COPY ./docker/default.conf.template /etc/nginx/templates/default.conf.template
# Copy the built react application to the nginx folder
COPY ./dist /usr/share/nginx/html
# Required NGINX env variables
ENV NGINX_ENVSUBST_OUTPUT_DIR=/etc/nginx/conf.d
# Default env variables
ENV PORT=80
ENV HOST=0.0.0.0