FROM nginx:alpine | |
# Copy all files to the NGINX html directory | |
COPY . /usr/share/nginx/html/ | |
# Set proper permissions | |
RUN chmod -R 755 /usr/share/nginx/html | |
# Expose port 7860 | |
EXPOSE 7860 | |
# Start NGINX | |
CMD ["nginx", "-g", "daemon off;"] | |
FROM nginx:alpine | |
# Copy all files to the NGINX html directory | |
COPY . /usr/share/nginx/html/ | |
# Set proper permissions | |
RUN chmod -R 755 /usr/share/nginx/html | |
# Expose port 7860 | |
EXPOSE 7860 | |
# Start NGINX | |
CMD ["nginx", "-g", "daemon off;"] | |