AItool commited on
Commit
120d592
·
verified ·
1 Parent(s): 1c57bfc

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -30
Dockerfile DELETED
@@ -1,30 +0,0 @@
1
- FROM python:3.11-slim
2
-
3
- RUN pip install --no-cache-dir --upgrade pip setuptools wheel
4
-
5
- WORKDIR /app
6
- COPY . .
7
-
8
- # create data folder & sesskey file, open perms
9
- RUN mkdir -p data \
10
- && touch .sesskey \
11
- && chmod 777 data .sesskey
12
-
13
- RUN pip install --no-cache-dir -r requirements.txt
14
-
15
- ENV PYTHONPATH=/app/src
16
-
17
- # last RUN or COPY step
18
- USER root
19
-
20
-
21
- # tell Hugging Face this is the public web port
22
- EXPOSE 80
23
-
24
- # listen on 0.0.0.0:80 so HF can forward traffic
25
- EXPOSE 5001
26
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "5001"]
27
-
28
-
29
-
30
-