You've already forked Travel-Agent
18 lines
311 B
Docker
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"]
|