first commit
Some checks are pending
Build and Push Docker Image / build-and-push (push) Waiting to run

This commit is contained in:
MTimka
2026-05-13 11:31:18 -07:00
parent e16668665c
commit 0f9b7a24e6
7 changed files with 147 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.11-slim as builder
WORKDIR /build
COPY requirements.txt .
RUN pip install --no-cache-dir --prefix=/install -r requirements.txt
FROM python:3.11-slim
WORKDIR /app
COPY --from=builder /install /usr/local
COPY app.py .
EXPOSE 8000
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]