SentimentAnalysis / Dockerfile
O S I H
trying gdown
8be214a
raw
history blame
496 Bytes
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfilef
FROM python:3.9
WORKDIR /code
ENV HF_HOME=/code/.cache/
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
# RUN pip install gdown
RUN gdown 1-2xLqBeuq6ypWyPEVdfslKU1GLgD9a1_
EXPOSE 5000
CMD ["python", "api.py"]