Add Nginx frontend + Backend Docker setup for Coolify deployment

This commit is contained in:
Wochenplaner Deploy
2026-06-01 13:26:56 +00:00
parent e5f44112d0
commit 3783d6b9fd
4 changed files with 1708 additions and 21 deletions
+8
View File
@@ -0,0 +1,8 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN mkdir -p /app/data && chmod 777 /app/data
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]