Copy files during build

pull/92/head
Gabriel Augendre 2 months ago
parent 4a66efd3a6
commit fdf529d2f5

@ -1,5 +1,6 @@
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

@ -1,6 +1,7 @@
{
"build": {
"dockerfile": "Dockerfile"
"dockerfile": "Dockerfile",
"context": ".."
},
"postStartCommand": "inv sync-dependencies && pre-commit install --install-hooks"
}

Loading…
Cancel
Save