nginx/Dockerfile
2025-07-04 11:05:27 +05:30

10 lines
248 B
Docker

FROM debian:bookworm-slim
# Copy entire NGINX install directory
COPY ./nginx /usr/local/nginx
EXPOSE 80 443
# Use full path to NGINX binary and it will find its own config and logs
ENTRYPOINT ["/usr/local/nginx/sbin/nginx", "-g", "daemon off;"]