code-coverage/backend/Dockerfile

10 строки
318 B
Docker

FROM python:3.12.6-slim
ADD tools /src/tools
ADD backend /src/backend
RUN cd /src/tools && pip install --disable-pip-version-check --no-cache-dir --quiet .
RUN cd /src/backend && pip install --disable-pip-version-check --no-cache-dir --quiet .
CMD ["gunicorn", "code_coverage_backend.flask:app", "--timeout", "30"]