diff --git a/docker-compose.yml b/docker-compose.yml index 0da2e5c..611117e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,7 +8,7 @@ services: ports: - "5000:5000" volumes: - - .:/movie_name + - ./server:/movie_name/server environment: MOVIE_DB_HOST: mysql_db MOVIE_DB_USER: CINEMA_USER diff --git a/wait-for-mysql.sh b/wait-for-mysql.sh index b7fb0a1..a0b22e3 100644 --- a/wait-for-mysql.sh +++ b/wait-for-mysql.sh @@ -1,3 +1,3 @@ #!/bin/sh -sleep 10 +sleep 5 exec "$@"