-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Install fail: Self-hosting docker build fail #6839
Comments
@JocelynFloresz would you like to raise a PR for the fix ? |
FYI: The issue is that index.html is excluded by the Adding this to the |
@Hufschmidt These template syntax was introduced as we migrated to Vite in #6713 |
when you run yarn build:app:docker outside of docker - it works, so not sure it is the template issue. |
Issue is in dockerignore. You are ignoring something that is required. Not ideal but that's the issue. Any idea what is needed? |
Ok digging further... You are ignoring (by default) node_modules\ folder in the .dockerignore but not rebuilding with yarn install in the dockerfile. So basically there are no modules available in the docker build. Although I did explicitly add a yarn install, but that still didn't resolve. However when I DON'T ignore node_modules it works. |
The OP's log is not complete because he didn't used the Since you also exclude the directory I agree with @mikesutton : PS : the buil works fine on tag v0.15.0.
|
Any updates on this? Seems like the .dockerignore file have to be updated. |
Raised a PR which fixes the problems in this issue. |
still actual just in case |
Waiting on this as well :) |
i build it successfully after rm |
Removing .dockerignore worked for me too |
same here |
The project structure has refactored, we should add these required files to
I can provide a pull request if you need. |
The text was updated successfully, but these errors were encountered: