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
Link doesn't work in Dockerfile for rake #2324
Comments
Yes, links are not available during the build phase. There are a few ways to get your fixtures installed during build, but none of them are really straightforward:
|
Okay cool! 👍 First, thank you for your long description! I will run it as a manual step, this should be enough for now. Later i could think about further steps! |
@dazorni Could you please update the steps to solve. I got into this and try to discover. I know it's difficult to reproduce, but really appreciate if you can show :) . |
Currently i'm using docker compose to connect my web app with the postgre database. My config looks like this:
If i run
docker-compose up
i get this errorIf i don't run
rake db:create ...
in the Dockerfile and run it like thisdocker-compose run web rake db:create
it works fine and i don't get any errors. Can you help me?The text was updated successfully, but these errors were encountered: