Dockerfile 223 B

123456
  1. FROM nginx:1.27-alpine
  2. COPY nginx.conf.template /etc/nginx/conf.d/default.conf.template
  3. COPY docker-entrypoint.sh /
  4. RUN chmod +x /docker-entrypoint.sh
  5. ENTRYPOINT ["/docker-entrypoint.sh"]
  6. CMD ["nginx", "-g", "daemon off;"]