File size: 453 Bytes
4ec1b91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64169d3
4ec1b91
0232e71
 
f38a522
b855b14
c7c94a9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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.9

WORKDIR /code

COPY ./main.py /code/main.py

COPY ./space_checker.py /code/space_checker.py

COPY ./requirements.txt /code/requirements.txt

COPY ./start.sh /code/start.sh

COPY . .

RUN pip install -r /code/requirements.txt

RUN chmod +x start.sh

RUN sed -i 's/\r$//' start.sh

CMD ["bash","start.sh"]