From 0cd5a2b0055a3d522d5c568eaf57d0c77c5564f9 Mon Sep 17 00:00:00 2001 From: Oliver Walters Date: Thu, 21 Apr 2022 20:17:12 +1000 Subject: [PATCH] Revert location of init.sh for Dockerfile --- docker/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index b272683322..9978460e8f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -110,8 +110,7 @@ RUN pip3 install --user --no-cache-dir --disable-pip-version-check -r ${INVENTRE WORKDIR ${INVENTREE_MNG_DIR} # Server init entrypoint -COPY init.sh ${INVENTREE_HOME}/init.sh -ENTRYPOINT ["/bin/bash", "${INVENTREE_HOME}/init.sh"] +ENTRYPOINT ["/bin/bash", "../docker/init.sh"] # Launch the production server # TODO: Work out why environment variables cannot be interpolated in this command