This project contains a collection of Proof-of-Concept (POC) implementations using Node.
-
Set the
DOCKER_USER
environment variable:-
export DOCKER_USER="$(id -u):$(id -g)"
-
-
Build a custom image using the same user ID and group ID:
-
./scripts/build.sh
-
-
Install the dependencies:
-
docker compose run -ti --rm app yarn --frozen-lockfile
-
-
Start asserting your solution by running the test file:
-
docker compose run -ti --rm --service-ports app yarn workspace <workspace> <command>
-
-
This runs
yarn
in a Docker container. Alternatively, you can useyarn
installed in your local machine.