diff --git a/superset/Dockerfile b/superset/Dockerfile index 152835e3..32f103d9 100644 --- a/superset/Dockerfile +++ b/superset/Dockerfile @@ -1,10 +1,10 @@ FROM apache/superset:1.5.0 -WORKDIR /home/superset +USER root COPY requirements.txt requirements.txt RUN pip freeze | grep -i apache-superset > protected-packages.txt \ && pip install --constraint ./protected-packages.txt --no-cache-dir -r ./requirements.txt \ && rm -rf ./protected-packages.txt ./requirements.txt -WORKDIR /app +USER superset