10 lines
271 B
Plaintext
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 |