Local mirror for CentOS Stream & EPEL in a container image
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
278 B

FROM registry.fedoraproject.org/fedora:latest
# Install required tools
RUN dnf install -y nginx && \
dnf clean all
# Configure nginx
COPY nginx.conf /etc/nginx/nginx.conf
# Expose port 8080
EXPOSE 8080
# Start nginx in foreground mode
CMD ["nginx", "-g", "daemon off;"]