Skip to content

Commit

Permalink
feat:devcontainer #18
Browse files Browse the repository at this point in the history
  • Loading branch information
kkho9654 committed Mar 29, 2024
1 parent 97ace00 commit aa23325
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ COPY init_db.sql /docker-entrypoint-initdb.d/

# MySQL 서비스를 시작하고 초기 설정을 수행하는 스크립트 추가
COPY start_mysql.sh /usr/local/bin/start_mysql.sh
RUN chmod +x /usr/local/bin/start_mysql.sh

RUN chmod +x /usr/local/bin/start_mysql.sh
RUN service mysql start && mysql -u root mydb < /docker-entrypoint-initdb.d/init_db.sql

0 comments on commit aa23325

Please sign in to comment.