Files
ad_fun/hard_exam/Dockerfile
T
2026-07-15 13:29:08 +03:00

15 lines
324 B
Docker

FROM python:3.12-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends gcc make libc6-dev && rm -rf /var/lib/apt/lists/*
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY src/ /app/
RUN make -C /app/validator
CMD ["python", "app.py"]