Spaces:
Sleeping
Sleeping
International Rice Research Institute commited on
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -1,3 +1,7 @@
|
|
| 1 |
FROM nginx:alpine
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
COPY index.html /usr/share/nginx/html/index.html
|
|
|
|
| 1 |
FROM nginx:alpine
|
| 2 |
|
| 3 |
+
# Replace default nginx config to use port 7860
|
| 4 |
+
RUN sed -i 's/listen\s\+80;/listen 7860;/g' /etc/nginx/conf.d/default.conf
|
| 5 |
+
|
| 6 |
+
# Copy your HTML
|
| 7 |
COPY index.html /usr/share/nginx/html/index.html
|