SentimentAnalysis / Dockerfile
MissingBreath's picture
Update Dockerfile
86e19c1 verified
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 gdown --folder 1fav3Drx5nynB_y04B7cJ8bj6H-2v3MGl
RUN gdown --folder 1mGuBY69JhklMIoHCCJ00kL2lDgggovBY
CMD ["uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]