Open yozsoy opened 1 year ago
hi @yozsoy ! I think that just before that step you have to go to flask-app
folder. (ie cd flask-app
). There you will find requirements.txt
.
And, yes, I deleted the existent Dockerfile in that folder to recreate a new one.
ps; Also, I had to add this line to requirements.txt
Werkzeug==2.2.2
Do you mean to move Dockerfile to flask-app folder? I have this error when I did that: => ERROR [ 6/10] ADD flask-app /opt/flask-app 0.0s
mmmm, this is my Dockerfile
And my requirements.txt
I don't remember exactly the steps that I did, but I guess that I meant to, in the terminal, go to the flask-app
folder to start building the image from there...
Thanks for your reply. But actually what I got stuck is the FoodTruck step
"To start, create a new blank file in our favorite text-editor and save it in the same folder as the flask app by the name of Dockerfile" this part in this page "https://docker-curriculum.com/" does not tell the folder name the dockerfile should be in. I followed the instructions exactley but it didnt work with the error message below.
Do you mean place the docker file in flask-app folder? flask-app folder already contain dockerfile so do you mean delete the dockerfile and create an empty file?