Add devcontainer
parent
5a5fb33dda
commit
072c762ad0
@ -0,0 +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 ./
|
||||
RUN invoke sync-dependencies
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"context": ".."
|
||||
},
|
||||
"postStartCommand": "inv sync-dependencies && pre-commit install --install-hooks"
|
||||
}
|
Loading…
Reference in New Issue