Files
antigravity/Dockerfile
serhiimosiiash db58a17efe
Some checks failed
Agile Squad Operations / standup-check (push) Failing after 32s
Agile Squad Operations / scrum-report (push) Failing after 26s
Agile Squad Operations / heavy-worker (push) Has been cancelled
Agile Squad Operations / qa-auditor (push) Has been cancelled
Infra: Add Dockerfile for Python environment
2025-12-19 19:55:06 +02:00

18 lines
700 B
Docker
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
FROM python:3.10-slim
# Встановлюємо робочу директорію
WORKDIR /app
# Встановлюємо системні залежності (якщо треба для audit)
RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/*
# Копіюємо залежності та встановлюємо їх
COPY requirements.txt .
# Якщо файл порожній або його немає, pip не впаде завдяки "|| true"
RUN pip install --no-cache-dir -r requirements.txt || true
# Копіюємо весь код проекту
COPY . .
# За замовчуванням запускаємо help
CMD ["python", "main.py", "--help"]