Files
Travel-Agent/Dockerfile
T
2024-03-17 18:50:03 +03:00

18 lines
311 B
Docker

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"]