rasmodev commited on
Commit
8e0478e
·
verified ·
1 Parent(s): 1d63005

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -28
Dockerfile DELETED
@@ -1,28 +0,0 @@
1
- FROM python:3.11-slim
2
-
3
- RUN apt-get update && apt-get install -y --no-install-recommends \
4
- libgl1 libglib2.0-0 libsm6 libxext6 libxrender-dev curl \
5
- && rm -rf /var/lib/apt/lists/*
6
-
7
- WORKDIR /app
8
-
9
- # CPU PyTorch
10
- RUN pip install --no-cache-dir \
11
- torch==2.2.2+cpu torchvision==0.17.2+cpu \
12
- --extra-index-url https://download.pytorch.org/whl/cpu
13
-
14
- COPY requirements.txt .
15
- RUN pip install --no-cache-dir -r requirements.txt
16
-
17
- COPY app.py .
18
-
19
-
20
- USER appuser
21
- EXPOSE 7860
22
-
23
- CMD ["streamlit", "run", "app.py", \
24
- "--server.port=7860", \
25
- "--server.address=0.0.0.0", \
26
- "--server.headless=true", \
27
- "--server.fileWatcherType=none", \
28
- "--browser.gatherUsageStats=false"]