From 18c55b8013c164a558cd1ab792982bd3de72f0a0 Mon Sep 17 00:00:00 2001 From: Crag Wolfe Date: Wed, 30 Aug 2023 20:33:59 -0700 Subject: [PATCH] remove any existing link first --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0dca2ffbcb..df9e145319 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,7 +63,7 @@ RUN python3.10 -c "import nltk; nltk.download('punkt')" && \ FROM deps as code # NOTE(crag): temporary workaround until updated base image has this -RUN ln -s /usr/local/bin/python3.10 /usr/local/bin/python3 +RUN rm -f /usr/local/bin/python3 && ln -s /usr/local/bin/python3.10 /usr/local/bin/python3 USER ${NB_USER}