Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-curriculum.com tutorial does not work #380

Open
yozsoy opened this issue Oct 3, 2023 · 4 comments
Open

docker-curriculum.com tutorial does not work #380

yozsoy opened this issue Oct 3, 2023 · 4 comments

Comments

@yozsoy
Copy link

yozsoy commented Oct 3, 2023

"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?

image

@mayo-nesso
Copy link

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

@Yufei447
Copy link

Yufei447 commented Jan 7, 2024

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

@mayo-nesso
Copy link

mmmm, this is my Dockerfile
Screenshot 2024-01-08 at 20 31 09

And my requirements.txt
Screenshot 2024-01-08 at 20 32 24

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...

Screenshot 2024-01-08 at 20 36 58

@Yufei447
Copy link

Yufei447 commented Jan 9, 2024

Thanks for your reply. But actually what I got stuck is the FoodTruck step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants