Spaces:
Sleeping
Sleeping
Delete .dockerfile
Browse files- .dockerfile +0 -15
.dockerfile
DELETED
|
@@ -1,15 +0,0 @@
|
|
| 1 |
-
FROM python:3.9
|
| 2 |
-
|
| 3 |
-
WORKDIR /code
|
| 4 |
-
|
| 5 |
-
COPY ./requirements.txt /code/requirements.txt
|
| 6 |
-
RUN pip install --no-cache-dir --upgrade pip
|
| 7 |
-
# Install CPU-only PyTorch to save space
|
| 8 |
-
RUN pip install --no-cache-dir torch torchvision --index-url https://download.pytorch.org/whl/cpu
|
| 9 |
-
RUN pip install --no-cache-dir -r /code/requirements.txt
|
| 10 |
-
|
| 11 |
-
COPY . .
|
| 12 |
-
|
| 13 |
-
RUN chmod -R 777 /code
|
| 14 |
-
|
| 15 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|