From 1a31d9790e21d2bfccd1cdd710a1253a17e5082d Mon Sep 17 00:00:00 2001 From: Simon Rieger Date: Mon, 18 Mar 2024 13:41:09 +0100 Subject: [PATCH] replace user as root --- Dockerfile | 3 ++- README.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0762663..b4ad8b7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,8 @@ RUN chmod +x /dcv/bin/dcv RUN addgroup dcv && \ adduser -D -G dcv -s /bin/bash -g "docker-compose-viz" -h /input dcv -USER dcv +#USER dcv +USER root VOLUME /input WORKDIR /input diff --git a/README.md b/README.md index 1dac066..33748d9 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,8 @@ Considering the current working directory is where your `docker-compose.yml` file is located: ```bash +docker build . -t pmsipilot/docker-compose-viz + docker run --rm -it --name dcv -v $(pwd):/input pmsipilot/docker-compose-viz render -m image docker-compose.yml # PowerShell