Build-and-Dockerize-a-Full-stack-React-app-with-Node.js-MySQL-and-Nginx-for-reverse-proxy
Build-and-Dockerize-a-Full-stack-React-app-with-Node.js-MySQL-and-Nginx-for-reverse-proxy copied to clipboard
Problem with setup.sql
Hello I followed the tutorial at https://www.section.io/engineering-education/build-and-dockerize-a-full-stack-react-app-with-nodejs-and-nginx/ and firstly, THANK YOU for taking the time to write that and set it up.
I have one small problem though. When following the original steps, the docker-compose.yml file being executed simply created a directory of setup.sql, but did not add the "script" that creates your table. I tried to change this directory to a file, (called setup.sql at the project root) but then it simply errored out as I executed the script to run the docker-compose.yml file.
I have tried to make a directory called setup.sql with a file within that called setup.sql, which contains the script, but although there is no error, the adminer seems to indicated this script was not executed.