Ver Fonte

Merge pull request #5846 from weseek/fix/official-image-user

fix: Change the execution user of the official docker image to root
Yuki Takei há 4 anos atrás
pai
commit
5608b6af47
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      packages/app/docker/Dockerfile

+ 1 - 0
packages/app/docker/Dockerfile

@@ -159,6 +159,7 @@ RUN rm node_modules.tar packages.tar
 
 COPY --chown=node:node --chmod=700 packages/app/docker/docker-entrypoint.sh /
 
+USER root
 WORKDIR ${appDir}/packages/app
 
 VOLUME /data