Spaces:
Sleeping
Sleeping
cleaned
Browse files- Dockerfile +0 -7
Dockerfile
CHANGED
@@ -2,20 +2,13 @@ FROM python:3.9
|
|
2 |
#-slim
|
3 |
|
4 |
WORKDIR /app
|
5 |
-
|
6 |
|
7 |
COPY requirements.txt ./
|
8 |
|
9 |
RUN pip install -r requirements.txt
|
10 |
|
11 |
-
# COPY main.py ./
|
12 |
-
# COPY assets/ ./
|
13 |
-
|
14 |
-
|
15 |
EXPOSE 7860
|
16 |
|
17 |
-
# CMD [ "python", "app.py" ]
|
18 |
-
|
19 |
COPY . .
|
20 |
|
21 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
2 |
#-slim
|
3 |
|
4 |
WORKDIR /app
|
|
|
5 |
|
6 |
COPY requirements.txt ./
|
7 |
|
8 |
RUN pip install -r requirements.txt
|
9 |
|
|
|
|
|
|
|
|
|
10 |
EXPOSE 7860
|
11 |
|
|
|
|
|
12 |
COPY . .
|
13 |
|
14 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|