File size: 452 Bytes
4ec1b91
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64169d3
 
 
4ec1b91
64169d3
4ec1b91
9c5b761
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
25
26
# 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 ls .

RUN ls /code

RUN pip install -r /code/requirements.txt

RUN chmod +x /code/start.sh

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