mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-05 06:13:55 +01:00
Copy files during build
This commit is contained in:
parent
4a66efd3a6
commit
fdf529d2f5
2 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue