Commit 04a57981 authored by daidekun's avatar daidekun

fixbug

parent 89e7d5f2
......@@ -22,11 +22,11 @@ RUN apt-get update \
&& /etc/init.d/ssh start
WORKDIR /home/quant_group/mysql
# RUN mkdir sql_to_run
# COPY ./sql_to_run/* ./sql_to_run
# COPY docker-entrypoint.sh .
# COPY db_execute_sql.sh .
#
RUN mkdir sql_to_run
COPY ./sql_to_run/* ./sql_to_run
COPY docker-entrypoint.sh .
COPY db_execute_sql.sh .
RUN chmod +x ./docker-entrypoint.sh
CMD ["./docker-entrypoint.sh"]
\ No newline at end of file
#!/bin/sh
public_ip="www.q-gp.com"
# sh /etc/init.d/mysql restart
# sh ./db_execute_sql.sh
\ No newline at end of file
sh /etc/init.d/mysql restart
sh ./db_execute_sql.sh
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment