Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
|
@@ -16,6 +16,7 @@ WORKDIR $HOME/app
|
|
| 16 |
COPY --chown=user ./ $HOME/app
|
| 17 |
|
| 18 |
RUN pip install -r requirements.txt
|
|
|
|
| 19 |
|
| 20 |
# Set the default command to run the FastAPI app with Uvicorn
|
| 21 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 16 |
COPY --chown=user ./ $HOME/app
|
| 17 |
|
| 18 |
RUN pip install -r requirements.txt
|
| 19 |
+
RUN pip install --upgrade transformers
|
| 20 |
|
| 21 |
# Set the default command to run the FastAPI app with Uvicorn
|
| 22 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|