williamufpr commited on
Commit Β·
9a80c0a
1
Parent(s): 6aa7df6
π Copy to app
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -7,8 +7,8 @@ ENV PATH="/home/appuser/.local/bin:$PATH"
|
|
| 7 |
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
-
COPY --chown=appuser ./requirements.txt
|
| 11 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 12 |
-
COPY --chown=appuser . .
|
| 13 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 14 |
|
|
|
|
| 7 |
|
| 8 |
WORKDIR /app
|
| 9 |
|
| 10 |
+
COPY --chown=appuser ./requirements.txt .
|
| 11 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 12 |
+
COPY --chown=appuser . .
|
| 13 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
| 14 |
|