phi-2 / Dockerfile
a7a8524's picture
Create Dockerfile
fa40312 verified
raw
history blame contribute delete
216 Bytes
FROM python:3.10-slim
# Set up app
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
# Expose the app
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]