Spaces:
Running
Running
Delete Dockerfile.cuda128
Browse files- Dockerfile.cuda128 +0 -20
Dockerfile.cuda128
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
FROM python:3.11-slim
|
2 |
-
|
3 |
-
EXPOSE 7860
|
4 |
-
|
5 |
-
RUN apt-get update && apt-get install -y ffmpeg && apt-get clean
|
6 |
-
|
7 |
-
WORKDIR /app
|
8 |
-
|
9 |
-
COPY . .
|
10 |
-
|
11 |
-
RUN python3 -m venv /app/.venv && \
|
12 |
-
. /app/.venv/bin/activate && \
|
13 |
-
pip install --no-cache-dir --upgrade pip && \
|
14 |
-
pip install --no-cache-dir torch==2.7.0 torchvision torchaudio==2.7.0 --index-url https://download.pytorch.org/whl/cu128 && \
|
15 |
-
pip install --no-cache-dir -r requirements.txt
|
16 |
-
|
17 |
-
VOLUME [ "/app/assets" ]
|
18 |
-
ENV PATH="/app/.venv/bin:$PATH"
|
19 |
-
|
20 |
-
CMD ["python3", "main/app/app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|