webolavo commited on
Commit
bbe66bd
·
verified ·
1 Parent(s): f8ccdac

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -34
Dockerfile DELETED
@@ -1,34 +0,0 @@
1
- FROM python:3.10-slim
2
-
3
- ENV PYTHONDONTWRITEBYTECODE=1 \
4
- PYTHONUNBUFFERED=1 \
5
- HF_HOME=/app/.cache/huggingface \
6
- TRANSFORMERS_CACHE=/app/.cache/huggingface \
7
- PORT=7860
8
-
9
- WORKDIR /app
10
-
11
- RUN apt-get update && apt-get install -y \
12
- git \
13
- wget \
14
- libglib2.0-0 \
15
- libsm6 \
16
- libxext6 \
17
- libxrender-dev \
18
- libgomp1 \
19
- libgl1 \
20
- && rm -rf /var/lib/apt/lists/*
21
-
22
- COPY requirements.txt .
23
-
24
- RUN pip install --no-cache-dir --upgrade pip && \
25
- pip install --no-cache-dir -r requirements.txt
26
-
27
- COPY app.py .
28
-
29
- RUN mkdir -p /app/.cache/huggingface && \
30
- chmod -R 777 /app/.cache
31
-
32
- EXPOSE 7860
33
-
34
- CMD ["python", "app.py"]