nginx.dockerfile 391 B

123456789
  1. # Install Nginx with FastCGI enabled, optimizing its performance for serving content
  2. RUN apk add nginx
  3. # Forward request and error logs to docker log collector
  4. # RUN ln -sf /dev/stdout /var/log/nginx/access.log &&\
  5. # ln -sf /dev/stderr /var/log/nginx/error.log
  6. # After executing the 'docker run' command, run the 'prepare.sh' script
  7. CMD [ "/bin/sh", "-c", "docker/server/prepare.sh" ]