Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -36,6 +36,7 @@ EXPOSE 8080
|
|
| 36 |
|
| 37 |
# Define environment variable for the port
|
| 38 |
ENV PORT 8080
|
|
|
|
| 39 |
|
| 40 |
# Run app.py when the container launches using Gunicorn WSGI server
|
| 41 |
CMD gunicorn --bind 0.0.0.0:${PORT} --workers 1 --threads 8 --timeout 0 app:app
|
|
|
|
| 36 |
|
| 37 |
# Define environment variable for the port
|
| 38 |
ENV PORT 8080
|
| 39 |
+
ENV MPLCONFIGDIR /tmp/matplotlib_config_cache
|
| 40 |
|
| 41 |
# Run app.py when the container launches using Gunicorn WSGI server
|
| 42 |
CMD gunicorn --bind 0.0.0.0:${PORT} --workers 1 --threads 8 --timeout 0 app:app
|