Summariser / Dockerfile
govardhan-06
B
2700f9c
raw
history blame contribute delete
357 Bytes
FROM python:3.12.2-slim
RUN apt-get update && apt-get install -y rustc cargo
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ./app /code/app
EXPOSE 80
RUN pip install uvicorn fastapi transformers
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]