Spaces:
Running
Running
# 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 start.sh | |
CMD ["./start.sh"] |