File size: 303 Bytes
8e34c2b
 
 
 
 
 
 
69e2d58
8e34c2b
c7216f6
 
37d9cb0
f4625c6
8e34c2b
10d6e15
8e34c2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile

FROM python:3.12

WORKDIR /code

COPY . .

COPY ./templates .

RUN pip install --no-cache-dir flask gunicorn
 

CMD ["gunicorn","-w","4","-b","0.0.0.0:7860", "app:app"]