HY-Chat / Dockerfile
tastypear's picture
Update Dockerfile
f38a522 verified
raw
history blame contribute delete
453 Bytes
# 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"]