nomadweb/backend/Dockerfile
eric 871ea78bf8 Speed up deploys with BuildKit caches and incremental service rebuilds.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-29 01:36:33 -05:00

11 lines
266 B
Docker

# syntax=docker/dockerfile:1
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN --mount=type=cache,target=/root/.cache/pip \
pip install -r requirements.txt
COPY . .
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]