Spaces:
Running
Running
File size: 493 Bytes
f28dc48 1affd9c f28dc48 |
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 ./serve.py /code/serve.py
COPY ./cerebras.py /code/cerebras.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"] |