GemmaFinetunes1 / Dockerfile
PawinC's picture
Create Dockerfile
bab06a2 verified
raw
history blame
316 Bytes
FROM python:3.10.12-slim
WORKDIR /
RUN apt-get update && apt-get install -y build-essential
COPY requirements.txt /requirements.txt
RUN pip install -r requirements.txt
COPY app /app
COPY models /models
EXPOSE 7860
ENV PYTHONUNBUFFERED=1
CMD ["uvicorn", "app.main:app", "--port", "7860", "--host", "0.0.0.0"]