Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 329 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 329 Bytes

Nginx

Build

docker build -t [image name]:[tag name] .

Run

docker run -d --rm --name [container name] \
    -v nginx_conf_path:/etc/nginx/conf.d -v ca_path:/ca -v app_path:/app \
    -p 80:80 -p 443:443 \
    [image name]:[tag name]

Restart

docker container restart [container name]