Resume-Redirect-Portal/Dockerfile

12 lines
338 B
Docker

# Use the official lightweight Alpine Linux image
FROM nginx:alpine
# Copy the website files to the default Nginx public directory
COPY ./index.html /usr/share/nginx/html/
COPY ./background.jpg /usr/share/nginx/html/
# Expose port 80 to be accessible
EXPOSE 80
# Start Nginx when the container is run
CMD ["nginx", "-g", "daemon off;"]