plane/nginx/Dockerfile

11 lines
258 B
Docker
Raw Normal View History

2023-06-06 13:45:42 +00:00
FROM nginx:1.25.0-alpine
RUN rm /etc/nginx/conf.d/default.conf
2023-06-06 13:45:42 +00:00
COPY nginx.conf.template /etc/nginx/nginx.conf.template
COPY ./env.sh /docker-entrypoint.sh
RUN chmod +x /docker-entrypoint.sh
# Update all environment variables
CMD ["/docker-entrypoint.sh"]