Skip to content

Commit

Permalink
Revert entrypoint changes, hoping for best
Browse files Browse the repository at this point in the history
  • Loading branch information
MischaPanch committed Oct 19, 2023
1 parent 620983b commit 3cd2380
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,11 @@ ROOT_DIR="${HOME}"/tfl-training-rl
if [ ! -d "${ROOT_DIR}" ]; then
echo "Code not found in ${ROOT_DIR}, copying it during entrypoint. With jupyterhub this should happen only once"
mkdir "${ROOT_DIR}"
cp -rf "${CODE_DIR}"/* "${ROOT_DIR}/"
fi
# ALWAYS OVERWRITE FOR NOW - TODO: adjust as was before
cp -rf "${CODE_DIR}"/* "${ROOT_DIR}/"

cd "${ROOT_DIR}" || exit

RUN poetry run ipython kernel install --name "tfl-training-rl" --user


# original entrypoint, see https://github.com/jupyter/docker-stacks/blob/master/base-notebook/Dockerfile#L150
# need -s option for tini to work properly when started not as PID 1
Expand Down

0 comments on commit 3cd2380

Please sign in to comment.