Skip to content

Commit

Permalink
fix(superset): install packages as root
Browse files Browse the repository at this point in the history
Signed-off-by: David van der Spek <[email protected]>
  • Loading branch information
davidspek committed May 17, 2023
1 parent 6622b00 commit 086e9f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 086e9f5

Please sign in to comment.