From f352bd703d33e9fde7f16f8606f2776034e67714 Mon Sep 17 00:00:00 2001 From: Remi PLANEL <rplanel@pasteur.fr> Date: Thu, 16 Feb 2023 11:34:16 +0100 Subject: [PATCH] add command-line to install dependencies using docker --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 8607e02a..fd9edab4 100755 --- a/README.md +++ b/README.md @@ -18,6 +18,12 @@ Install dependencies: yarn install ``` +Using docker: + +```bash +docker run -v "$PWD":/usr/src/app -w /usr/src/app --user 1000:1000 node:19.5-bullseye-slim npm install +``` + ## Development ```bash @@ -55,3 +61,5 @@ yarn preview --- For a detailed explanation of how things work, check out [Docus](https://docus.dev). + + -- GitLab