From 714839c84c3cb5e930995ed2cf2e761645859e9c Mon Sep 17 00:00:00 2001 From: David Ichim Date: Wed, 20 Jan 2021 18:47:56 +0200 Subject: [PATCH] Refs #126363 create addons folder after using node user --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 06f0ff02..28fa78ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,12 +7,13 @@ RUN runDeps="openssl ca-certificates patch git" \ && rm -rf /var/lib/apt/lists/* COPY . /opt/frontend/ -RUN mkdir -p /opt/frontend/src/addons RUN chown -R node /opt/frontend/ WORKDIR /opt/frontend/ USER node +RUN mkdir -p /opt/frontend/src/addons + USER root RUN npm install -g mrs-developer