charasheet/.devcontainer/Dockerfile

7 lines
331 B
Docker

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 ./
RUN invoke sync-dependencies
RUN pre-commit install --install-hooks