trans / Dockerfile
hadheedo's picture
Update Dockerfile
ae8d393 verified
raw
history blame contribute delete
271 Bytes
# Base image
FROM python:3.10-slim
# Working directory
WORKDIR /app
# Copy requirements and install
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy app
COPY app.py .
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]