Update Dockerfile

This commit is contained in:
Alexandre
2021-10-22 23:17:02 +02:00
committed by GitHub
parent 2c77f4c63d
commit d8f35f02f3

View File

@@ -50,8 +50,8 @@ RUN \
&& chmod a+x /start.sh \
#&& sed -i "2 i\cd / && ./start.sh" /docker-entrypoint.sh \
# Add end script
&& chown root:root /end.sh \
&& chmod a+x /end.sh \
#&& chown root:root /end.sh \
#&& chmod a+x /end.sh \
&& sed -i '$ d' /docker-entrypoint.sh
#&& sed -i '$ i\export DB_NAME=$DB_NAME && export WT_USER=$WT_USER && export WT_PASS=$WT_PASS && cd / && ./end.sh' /docker-entrypoint.sh