Files
CK-X/nginx/Dockerfile
2025-04-02 10:39:59 +05:30

13 lines
251 B
Docker

FROM nginx:1.21-alpine
# Remove the default Nginx configuration
RUN rm /etc/nginx/conf.d/default.conf
# Copy our custom configuration
COPY default.conf /etc/nginx/conf.d/
# Expose port 80
EXPOSE 80
# Start Nginx
CMD ["nginx", "-g", "daemon off;"]