superset-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maximebeauche...@apache.org
Subject [incubator-superset] branch master updated: Update Dockerfile (#6678)
Date Sun, 13 Jan 2019 16:37:45 GMT
This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-superset.git


The following commit(s) were added to refs/heads/master by this push:
     new b2f0b2b  Update Dockerfile (#6678)
b2f0b2b is described below

commit b2f0b2bde67e4a37087180a19a8d5e4e769ff42d
Author: Sirius <sqzhuo@gmail.com>
AuthorDate: Mon Jan 14 00:37:37 2019 +0800

    Update Dockerfile (#6678)
    
    Fix permission issue.
---
 contrib/docker/Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile
index 9a1a313..cd55409 100644
--- a/contrib/docker/Dockerfile
+++ b/contrib/docker/Dockerfile
@@ -34,13 +34,13 @@ RUN pip install --upgrade setuptools pip \
     && pip install -r requirements.txt -r requirements-dev.txt \
     && rm -rf /root/.cache/pip
 
-USER superset
-
 COPY --chown=superset:superset superset superset
 
 ENV PATH=/home/superset/superset/bin:$PATH \
     PYTHONPATH=/home/superset/superset/:$PYTHONPATH
 
+USER superset
+
 RUN cd superset/assets \
     && npm ci \
     && npm run sync-backend \


Mime
View raw message