SentimentAnalysis / Dockerfile
O S I H
update
c59422d
raw
history blame
434 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
ENV HF_HOME=/code/.cache/huggingface
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . .
RUN git clone https://huggingface.co/MissingBreath/recycle-garbage-model
EXPOSE 5000
CMD ["python", "api.py"]