Files
bb-valentines/DockerFile
2026-02-05 13:41:28 +08:00

10 lines
271 B
Plaintext

# Use the lightweight Nginx image
FROM nginx:alpine
# Copy all files from your Git repo into the web server directory
COPY ./html/ /usr/share/nginx/html/
RUN sed -i 's/server_name localhost;/server_name _;/g' /etc/nginx/conf.d/default.conf
# Expose port 80
EXPOSE 80