Add nginx Dockerfile and nginx.conf

This commit is contained in:
PCoder 2023-12-13 20:00:54 +05:30
commit 88cff0f35c
2 changed files with 21 additions and 14 deletions

View file

@ -2,7 +2,7 @@
FROM nginx:latest
# Copy custom configuration file to Nginx configuration directory
COPY ./nginx/nginx.conf /etc/nginx/nginx.conf
COPY ./nginx.conf /etc/nginx/nginx.conf
# Expose port
EXPOSE 80