No pre-commit during build

This commit is contained in:
Gabriel Augendre 2023-03-25 09:53:18 +01:00
parent fdf529d2f5
commit a2a3260c3e

View file

@ -1,6 +1,5 @@
FROM mcr.microsoft.com/devcontainers/python:3.11-bullseye
RUN apt-get update && apt-get upgrade -y
RUN pip install pip-tools invoke
COPY requirements.in requirements.txt requirements-dev.in requirements-dev.txt constraints.txt tasks.py .pre-commit-config.yaml ./
COPY requirements.in requirements.txt requirements-dev.in requirements-dev.txt constraints.txt tasks.py ./
RUN invoke sync-dependencies
RUN pre-commit install --install-hooks