]> PHS Git Server - phs-stack.git/commitdiff
Fixing docker mount.
authorcharleswrayjr <charleswrayjr@gmail.com>
Sat, 6 Sep 2025 14:11:58 +0000 (09:11 -0500)
committercharleswrayjr <charleswrayjr@gmail.com>
Sat, 6 Sep 2025 14:11:58 +0000 (09:11 -0500)
images/phs-api/Dockerfile

index 1589a195758448afb1f7ea113e49017b823f7d47..0505d2fda80d633c5a6bb40371425930f7a78c62 100755 (executable)
@@ -1,6 +1,8 @@
 FROM node:20.12.1
 WORKDIR /usr/src/app
 RUN groupmod -g 1000 node && usermod -u 1000 -g 1000 node
+RUN groupmod -aG docker node
+
 RUN npm install nodemon -g
 RUN npm install -g ts-node
 RUN apt update && apt install -y vim mlocate openssh-client && rm -r /var/lib/apt/lists/*