Spaces:
Sleeping
Sleeping
Upload 6 files
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -43,5 +43,5 @@ EXPOSE 7860
|
|
| 43 |
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
| 44 |
CMD python -c "import requests; requests.get('http://localhost:7860', timeout=10)"
|
| 45 |
|
| 46 |
-
# Run the application with pre-build step
|
| 47 |
-
CMD ["sh", "-c", "python
|
|
|
|
| 43 |
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
|
| 44 |
CMD python -c "import requests; requests.get('http://localhost:7860', timeout=10)"
|
| 45 |
|
| 46 |
+
# Run the application with pre-build step - USING build.py
|
| 47 |
+
CMD ["sh", "-c", "python build.py && python app.py"]
|