Skip to content

armgit / meet

Public Imported from GitHub
0

Open source video conferencing app powered by LiveKit. Built with Django and React.

💩(summary) dockerize FastAPI app

lebaudantoined7d82130d93d
diff --git a/src/summary/Dockerfile b/src/summary/Dockerfile
new file mode 100644
index 00000000..36c5243b
--- /dev/null
+++ b/src/summary/Dockerfile
@@ -0,0 +1,17 @@
+FROM python:3.12-slim AS builder
+
+WORKDIR /app
+
+COPY pyproject.toml .
+
+RUN pip3 install --no-cache-dir .
+
+FROM python:3.12-slim AS production
+
+WORKDIR /app
+
+COPY --from=builder /usr/local /usr/local
+COPY ./summary /app/summary
+
+
+CMD ["uvicorn", "summary.main:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "8000"]