2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 19:45:46 +00:00

Merge pull request #2858 from SchrodingersGat/docker-init-fix

Revert location of init.sh for Dockerfile
This commit is contained in:
Oliver
2022-04-21 22:29:36 +10:00
committed by GitHub

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