use chown instead of chmod... oops!

This commit is contained in:
Asif Bacchus 2020-11-27 02:29:20 -07:00
parent bfaa9942ed
commit 0edcbf931b

View File

@ -44,7 +44,7 @@ COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN mkdir -p /docker-entrypoint-preinit.d \
&& mkdir -p /docker-entrypoint-initdb.d \
&& mkdir -p /docker-entrypoint-postinit.d \
&& chmod -R mysql:mysql /docker-entrypoint-*
&& chown -R mysql:mysql /docker-entrypoint-*
# set entrypoint and default command
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]