Skip to content

Commit 3dfe578

Browse files
committed
Configure entrypoint after copying needed files to make it work
1 parent 6e437aa commit 3dfe578

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

images/docker-stacks-foundation/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ RUN set -x && \
123123
fix-permissions "${CONDA_DIR}" && \
124124
fix-permissions "/home/${NB_USER}"
125125

126-
# Configure container startup
127-
ENTRYPOINT ["tini", "-g", "--", "start.sh"]
128-
129126
# Copy local files as late as possible to avoid cache busting
130127
COPY run-hooks.sh start.sh /usr/local/bin/
131128

129+
# Configure container entrypoint
130+
ENTRYPOINT ["tini", "-g", "--", "start.sh"]
131+
132132
USER root
133133

134134
# Create dirs for startup hooks

0 commit comments

Comments
 (0)