.config
.github
collections
docs
examples
apache
caddy
caddy2
haproxy
Dockerfile
README.md
docker-compose.yml
haproxy.cfg
nginx.conf
host.yml
hosts
vars.yml
group_vars
inventory
playbooks
roles
.editorconfig
.gitignore
.yamllint
CHANGELOG.md
LICENSE
Makefile
README.md
ansible.cfg
requirements.yml
setup.yml
13 lines
209 B
Docker
13 lines
209 B
Docker
# Pull nginx base image
|
|
FROM nginx:latest
|
|
|
|
# Expost port 80
|
|
EXPOSE 80
|
|
|
|
# Copy custom configuration file from the current directory
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
|
# Start up nginx server
|
|
CMD ["nginx"]
|
|
|