Revert location of init.sh for Dockerfile

This commit is contained in:
Oliver Walters 2022-04-21 20:17:12 +10:00
parent d647153cc2
commit 0cd5a2b005

View File

@ -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