LibreY/docker/server/nginx.dockerfile

10 lines
391 B
Plaintext
Raw Normal View History

# Install Nginx with FastCGI enabled, optimizing its performance for serving content
RUN apk add nginx
2023-02-27 11:35:06 -08:00
# Forward request and error logs to docker log collector
# RUN ln -sf /dev/stdout /var/log/nginx/access.log &&\
# ln -sf /dev/stderr /var/log/nginx/error.log
2023-02-27 11:35:06 -08:00
# After executing the 'docker run' command, run the 'prepare.sh' script
CMD [ "/bin/sh", "-c", "docker/server/prepare.sh" ]