Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -4,10 +4,10 @@ RUN useradd -m -u 1000 user
|
|
| 4 |
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
-
COPY
|
| 8 |
|
| 9 |
-
RUN pip install
|
| 10 |
|
| 11 |
-
COPY
|
| 12 |
|
| 13 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 4 |
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
COPY ./requirements.txt requirements.txt
|
| 8 |
|
| 9 |
+
RUN pip install -r requirements.txt
|
| 10 |
|
| 11 |
+
COPY . /app
|
| 12 |
|
| 13 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|