doc / Dockerfile
Zai
version change
fe5878f
raw
history blame contribute delete
354 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.7
WORKDIR /code
COPY . /code
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
# Run app.py when the container launches
CMD ["python", "manage.py", "runserver", "0.0.0.0:7860"]