summarizer_sentiments / Dockerfile
ANMOL1140W's picture
Initial backend API
37d0bae
Raw
History Blame Contribute Delete
305 Bytes
# Dockerfile
FROM python:3.10
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY . /code/
# This command tells Hugging Face how to start your API server
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]