Spaces:
Sleeping
Sleeping
Commit
·
3ee8a13
1
Parent(s):
e882eda
Updated Docker
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -8,8 +8,8 @@ FROM python:3.9
|
|
8 |
RUN useradd -m -u 1000 user
|
9 |
WORKDIR /app
|
10 |
|
11 |
-
COPY
|
12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
|
14 |
-
COPY
|
15 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
8 |
RUN useradd -m -u 1000 user
|
9 |
WORKDIR /app
|
10 |
|
11 |
+
COPY requirements.txt .
|
12 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
13 |
|
14 |
+
COPY . .
|
15 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|