Update Dockerfile (#6678)

Fix permission issue.
This commit is contained in:
Sirius 2019-01-14 00:37:37 +08:00 committed by Maxime Beauchemin
parent 42cf929f62
commit b2f0b2bde6
1 changed files with 2 additions and 2 deletions

View File

@ -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 \