matrix-docker-ansible-deploy/examples/haproxy/Dockerfile

13 lines
209 B
Docker
Raw Normal View History

2019-08-26 03:53:34 +08:00
# 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"]