mirror of
https://github.com/Crocmagnon/charasheet.git
synced 2024-11-22 06:28:03 +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
|
FROM mcr.microsoft.com/devcontainers/python:3.11-bullseye
|
||||||
RUN apt-get update && apt-get upgrade -y
|
RUN apt-get update && apt-get upgrade -y
|
||||||
RUN pip install pip-tools invoke
|
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 invoke sync-dependencies
|
||||||
RUN pre-commit install --install-hooks
|
RUN pre-commit install --install-hooks
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"build": {
|
"build": {
|
||||||
"dockerfile": "Dockerfile"
|
"dockerfile": "Dockerfile",
|
||||||
|
"context": ".."
|
||||||
},
|
},
|
||||||
"postStartCommand": "inv sync-dependencies && pre-commit install --install-hooks"
|
"postStartCommand": "inv sync-dependencies && pre-commit install --install-hooks"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue