Skip to content

Commit

Permalink
Configure entrypoint after copying needed files to make it work
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Jan 22, 2024
1 parent 6e437aa commit 3dfe578
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions images/docker-stacks-foundation/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@ RUN set -x && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

# Configure container startup
ENTRYPOINT ["tini", "-g", "--", "start.sh"]

# Copy local files as late as possible to avoid cache busting
COPY run-hooks.sh start.sh /usr/local/bin/

# Configure container entrypoint
ENTRYPOINT ["tini", "-g", "--", "start.sh"]

USER root

# Create dirs for startup hooks
Expand Down

0 comments on commit 3dfe578

Please sign in to comment.