10 lines
204 B
Docker
10 lines
204 B
Docker
FROM python:3.11-bookworm
|
|
|
|
WORKDIR /api
|
|
|
|
COPY requirements.txt .
|
|
COPY app/ ./app
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] |