Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -10,5 +10,8 @@ WORKDIR /
|
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
12 |
|
|
|
|
|
|
|
13 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
14 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
10 |
# Install requirements.txt
|
11 |
RUN pip install --no-cache-dir --upgrade -r /requirements.txt
|
12 |
|
13 |
+
# Run util.py script
|
14 |
+
RUN python util.py
|
15 |
+
|
16 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
17 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|