mirror of
https://github.com/nginx/nginx.git
synced 2025-07-21 11:46:20 +08:00
Create Dockerfile
This commit is contained in:
parent
0bb7489cb2
commit
8776a7d207
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
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;"]
|
Loading…
Reference in New Issue
Block a user