diff --git a/nodejs-mini-message-board/Dockerfile b/nodejs-mini-message-board/Dockerfile index a7aeb01..521b2a1 100644 --- a/nodejs-mini-message-board/Dockerfile +++ b/nodejs-mini-message-board/Dockerfile @@ -4,7 +4,7 @@ COPY package.json package-lock.json /app WORKDIR /app -RUN npm install . +RUN npm install . && chown nobody:nobody /app COPY --chown=nobody:nobody ./src /app/src