From 6496e680b629426df1caa1e3c7477ee22aa8ed34 Mon Sep 17 00:00:00 2001 From: Tim Aleinikov Date: Fri, 17 Jun 2022 10:22:30 +0300 Subject: [PATCH] Fix sh to start conda without error Fix errors like this: Downloading psycopg2-2.9.3.tar.gz (380 kB) workshop_sql_optimization-anaconda-1 | ERROR: Command errored out with exit status 1: --- anaconda/entrypoint.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/anaconda/entrypoint.sh b/anaconda/entrypoint.sh index bfee207..97c394b 100644 --- a/anaconda/entrypoint.sh +++ b/anaconda/entrypoint.sh @@ -1,5 +1,5 @@ -apt update -y -apt install -y python3-dev python3-pip libpq-dev gcc -pip install psycopg2 -conda install jupyter -y --quiet +apt update -y && +apt install -y python3-dev python3-pip libpq-dev gcc && +pip install psycopg2 && +conda install jupyter -y --quiet && jupyter notebook --notebook-dir=/opt/notebooks --ip='*' --port=30888 --no-browser --allow-root