changed port to 3000
This commit is contained in:
@@ -1,2 +1,11 @@
|
||||
|
||||
FROM nginx:alpine
|
||||
|
||||
# Copy site files
|
||||
COPY . /usr/share/nginx/html
|
||||
|
||||
# Replace the default nginx config to listen on 3000
|
||||
RUN sed -i 's/listen 80;/listen 3000;/' /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user