diff --git a/.woodpecker.yml b/.woodpecker.yml index 60f0faa..ddc0b16 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,7 +6,6 @@ pipeline: build: image: archon_build commands: - - su - node - npm install - npm run grunt - npm run build-linux diff --git a/Dockerfile b/Dockerfile index 535d3bf..8b0cd99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,9 +15,5 @@ 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 - -USER node - VOLUME /usr/src/app/node_modules VOLUME /usr/src/app/public