2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 12:06:44 +00:00

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} WORKDIR ${INVENTREE_MNG_DIR}
# Server init entrypoint # Server init entrypoint
COPY init.sh ${INVENTREE_HOME}/init.sh ENTRYPOINT ["/bin/bash", "../docker/init.sh"]
ENTRYPOINT ["/bin/bash", "${INVENTREE_HOME}/init.sh"]
# Launch the production server # Launch the production server
# TODO: Work out why environment variables cannot be interpolated in this command # TODO: Work out why environment variables cannot be interpolated in this command