1st commit

This commit is contained in:
Mateusz Gruszczyński
2025-10-06 08:27:10 +02:00
commit b26b979a6a
16 changed files with 644 additions and 0 deletions

8
Dockerfile Normal file
View File

@@ -0,0 +1,8 @@
FROM python:3.13-slim
WORKDIR /app
COPY app/requirements.txt ./app/requirements.txt
RUN apt-get update && apt-get install -y build-essential libmaxminddb0 libmaxminddb-dev wget && rm -rf /var/lib/apt/lists/*
RUN pip install --no-cache-dir -r app/requirements.txt
COPY . /app
ENV PYTHONUNBUFFERED=1
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]