Shamik commited on
Commit
783ab44
·
verified ·
1 Parent(s): 9f284e8

fix: removing the dockerfile extension to make the build with this dockerfile.

Browse files
Files changed (1) hide show
  1. Dockerfile.dockerfile +0 -28
Dockerfile.dockerfile DELETED
@@ -1,28 +0,0 @@
1
-
2
- FROM python:3.12-slim
3
-
4
- WORKDIR /app
5
-
6
- COPY --link --chown=1000 . .
7
-
8
- RUN mkdir -p /tmp/cache/
9
- RUN chmod a+rwx -R /tmp/cache/
10
- RUN apt-get update && apt-get install -y poppler-utils ca-certificates curl gnupg build-essential \
11
- gcc \
12
- g++ \
13
- make \
14
- libffi-dev \
15
- libssl-dev \
16
- && rm -rf /var/lib/apt/lists/*
17
-
18
-
19
- ENV PYTHONPATH=/app
20
-
21
- ENV TRANSFORMERS_CACHE=/tmp/cache/
22
-
23
-
24
- RUN pip install --no-cache-dir -r requirements.txt
25
-
26
- ENV PYTHONUNBUFFERED=1 GRADIO_ALLOW_FLAGGING=never GRADIO_NUM_PORTS=1 GRADIO_SERVER_NAME=0.0.0.0 GRADIO_SERVER_PORT=7860 SYSTEM=spaces
27
-
28
- CMD ["python", "app.py"]