- Install docker 20.10.13+.
- Install docker compose 2.2.3+.
- Be sure to have the minimum requirements.
- Install the extension
ms-vscode-remote.remote-containers
. Ctrl+Shift+P
and chooseRemote-Containers: Open Folder in Container...
- Wait container to be built (it takes a while).
- Run
./run install:deps
to install all dependencies. - Run
./run help
to see all commands for this project.
- Run
./run --dc-dev dc:console
to enter the container. - Run
./run install:deps
to install all dependencies. - Run
./run help
to see all commands for this project.
You can change the user's UID/GID inside the container, you can export the
variables USER_UID
and/or USER_GID
.
export USER_UID=1000 USER_GID=1000; ./run dev:code
Note: On Linux, VSCode container handles user's UID/GID by itself. Read the
description of remoteUser
and updateRemoteUserUID
on this page.
-
husky
pre-commit is not triggered.Solution: Run
npm ci
.