init: Initial project setup

This commit is contained in:
ITQ
2024-03-17 18:50:03 +03:00
parent 9b652d063b
commit aa99051c7b
21 changed files with 703 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM python:3.12-slim
WORKDIR /app
# Copy requirements file
COPY requirements/prod.txt .
# Install Python dependencies
RUN pip install --no-cache-dir -r prod.txt
# Copy the rest of the application files
COPY . .
# Apply migrations
# RUN alembic -c app/alembic.ini upgrade head
CMD ["python", "-m", "app"]