Skip to content

Commit

Permalink
Merge pull request #2 from adamzwakk/add-copychown-dockerfile
Browse files Browse the repository at this point in the history
Update Dockerfile CHOWN into COPY
  • Loading branch information
adamzwakk authored Nov 28, 2021
2 parents e6afe73 + 33e9bce commit 9d6a117
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,8 @@ RUN if [ "x$skip_dev_deps" = "x" ] ; then pip install -r requirements_dev.txt ;
COPY requirements.txt ./
RUN pip install -r requirements.txt

COPY . /app
COPY --from=frontend-builder /frontend/client/dist /app/client/dist
RUN chown -R redash /app
COPY --chown=redash . /app
COPY --from=frontend-builder --chown=redash /frontend/client/dist /app/client/dist
USER redash

ENTRYPOINT ["/app/bin/docker-entrypoint"]
Expand Down

0 comments on commit 9d6a117

Please sign in to comment.