initialize project

Docker setup for the server, postgres and redis
This commit is contained in:
2026-04-11 18:02:14 +02:00 Unverified
commit d5ea350598
13 changed files with 360 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM python:3.14-slim
ENV PYTHONDONTWRITEBYTECODE=1 \
PYTHONUNBUFFERED=1
WORKDIR /app
COPY pyproject.toml ./
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir fastapi uvicorn
COPY src ./src
EXPOSE 8000
CMD ["fastapi", "run", "src/main.py", "--host", "0.0.0.0", "--port", "1367"]