Spaces:
Sleeping
Sleeping
International Rice Research Institute commited on
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -51,7 +51,7 @@ RUN mkdir -p /code/www && echo "OK" > /code/www/health
|
|
| 51 |
COPY app.R /code/
|
| 52 |
|
| 53 |
# Expose the port Shiny will run on
|
| 54 |
-
EXPOSE
|
| 55 |
|
| 56 |
# Run the app with corrected host address
|
| 57 |
-
CMD ["R", "--quiet", "-e", "shiny::runApp('/code', host='0.0.0.0', port=
|
|
|
|
| 51 |
COPY app.R /code/
|
| 52 |
|
| 53 |
# Expose the port Shiny will run on
|
| 54 |
+
EXPOSE 7860
|
| 55 |
|
| 56 |
# Run the app with corrected host address
|
| 57 |
+
CMD ["R", "--quiet", "-e", "shiny::runApp('/code', host='0.0.0.0', port=7860)"]
|