Files
finance_bot/.history/Dockerfile_20251210201718
2025-12-10 22:09:31 +09:00

21 lines
369 B
Plaintext

FROM python:3.12-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
postgresql-client \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements
COPY requirements.txt .
# Install Python dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy application
COPY . .
# Run app
CMD ["python", "-m", "app.main"]