Commit 7db4f132 authored by daidekun's avatar daidekun

fix mysql

parent 7ff80fe8
...@@ -22,11 +22,11 @@ RUN apt-get update \ ...@@ -22,11 +22,11 @@ RUN apt-get update \
&& /etc/init.d/ssh start && /etc/init.d/ssh start
WORKDIR /home/quant_group/mysql WORKDIR /home/quant_group/mysql
RUN mkdir sql_to_run # RUN mkdir sql_to_run
COPY ./sql_to_run/* ./sql_to_run # COPY ./sql_to_run/* ./sql_to_run
COPY docker-entrypoint.sh . # COPY docker-entrypoint.sh .
COPY db_execute_sql.sh . # COPY db_execute_sql.sh .
#
RUN chmod +x ./docker-entrypoint.sh # RUN chmod +x ./docker-entrypoint.sh
CMD ["./docker-entrypoint.sh"] CMD ["./docker-entrypoint.sh"]
\ No newline at end of file
#!/bin/sh #!/bin/sh
public_ip="www.q-gp.com" public_ip="www.q-gp.com"
sh /etc/init.d/mysql restart # sh /etc/init.d/mysql restart
sh ./db_execute_sql.sh # sh ./db_execute_sql.sh
\ No newline at end of file \ 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