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
commit 42f0628a48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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