update
This commit is contained in:
@@ -4,5 +4,7 @@ FROM nginx:alpine
|
|||||||
# Copy all files from your Git repo into the web server directory
|
# Copy all files from your Git repo into the web server directory
|
||||||
COPY ./html/ /usr/share/nginx/html/
|
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 port 80
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
Reference in New Issue
Block a user