From 3da1bf92c56806a6cd54dbd7b7de990a67b622e2 Mon Sep 17 00:00:00 2001 From: Gregory Ballantine Date: Sun, 22 May 2022 13:20:10 -0400 Subject: [PATCH] Added woodpecker CI config --- Dockerfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8b0cd99..5a31da6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,5 +15,10 @@ RUN apt update && \ # make sure node_modules and public exist so we can ensure it's own by the right user RUN mkdir /usr/src/app/{node_modules,public} +RUN chown -R node /usr/src/app +RUN chown -R node /root + +USER node + VOLUME /usr/src/app/node_modules VOLUME /usr/src/app/public