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 9486210 commit 97ace00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@
"build": {
"dockerfile": "../Dockerfile"
},
onCreateCommand: "/etc/init.d/mysql start",
updateContentCommand: "/etc/init.d/mysql start",
"postCreateCommand": "start_mysql.sh"
}
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,3 @@ COPY init_db.sql /docker-entrypoint-initdb.d/
COPY start_mysql.sh /usr/local/bin/start_mysql.sh
RUN chmod +x /usr/local/bin/start_mysql.sh

CMD ["start_mysql.sh"]
CMD ["/etc/init.d/mysql", "start"]

0 comments on commit 97ace00

Please sign in to comment.