Open mglaman opened 3 years ago
Workaround: remove lando.type
so the frontend is ignored. I can run it locally via yarn start
.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions and please check out this if you are wondering why we auto close issues.
Tell us about your setup
v3.0.23 macOS Big Sur
Tell us about your
.lando.yml
Lagoon recipe.It is also helpful to include other relevant config files. For example, include
pantheon.yml
for apantheon
recipe if applicable. Includephp.ini
ormysql.cnf
if you are overriding our defualt config.Tell us about the command you were running
Paste in a series of commands that caused the bug.
Example:
Tell us about the error you got
My Dockerfile commands are failing even though they build fine in Lagoon. Mostly file paths, meaning it's ignoring the build context and always using the root dir.
Example:
Tell us generally about your bug
ContribKanban is a mono repo with a frontend React app. The frontend app is in
frontend
. This is my docker-compose.ymlFirst it died on
../lagoon/Dockerfile.app
and I thought it was a fluke. I changed that and it kept dying. This is because the context ofcontext: frontend
is not respected. Lando is always using the root dir as context.