Update dockerfile

This commit is contained in:
2025-09-15 15:22:41 +03:00
parent a910bffcc9
commit f814a1ba00

View File

@ -1,11 +1,13 @@
FROM python:3.13-slim FROM pythoFROM python:3.13-slim
WORKDIR /app WORKDIR /app
COPY . .
RUN apt-get update && apt-get install -y --no-install-recommends libpq-dev build-essential RUN apt-get update && apt-get install -y --no-install-recommends libpq-dev build-essential
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "src/main.py"] CMD ["python", "src/main.py"]