anddyhuaa commented on issue #6486: docker COPY command in Dockerfile not 
documented
URL: 
https://github.com/apache/incubator-superset/issues/6486#issuecomment-447557714
 
 
   i'v modified the Dockerfile as follows:
   ...
   WORKDIR /home/superset
   
   COPY requirements.txt .
   COPY requirements-dev.txt .
   
   RUN pip install --upgrade setuptools pip \
       && pip install -r requirements.txt -r requirements-dev.txt \
       && rm -rf /root/.cache/pip
   
   **COPY superset superset
   RUN chown -R superset:superset /home/superset/superset**
   #COPY --chown=superset:superset superset superset
   USER superset
   
   ENV PATH=/home/superset/superset/bin:$PATH \
   ...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to