6 months ago
When redeloy and build. It show error messgae
copy / /app, /.vscode/settings.json /app/settings.json
333ms
ERROR: failed to build: failed to solve: lstat /.vscode/settings.json: no such file or directory
Pinned Solution
5 months ago
Ok, i resolved it, beacause i have line !.vscode/settings.json in file .dockerignore. This line were copy into app, But my source not have
10 Replies
6 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
6 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 6 months ago
6 months ago
Can you check if the .vscode folder exists in your Github repo? I'm assuming .vscode isnt there because it's gitignored but your project requires it for some reason
6 months ago
Would putting .vscode in the .dockerignore file help?
6 months ago
Are you the same person as "nhannv9" (original poster)?
To answer your question: probably not, if anything that would work completely against us since if the app is being built using Docker that would add another layer that ignores that folder but what we actually need is for that folder to not be ignored because something in the project files need it.
Check if
.vscodeexists in your github repoIf it doesn't exist, make sure it's not listed in your
.gitignorefile
Although the fact your project needs something from .vscode is already weird to me, so alternatively you can find whatever is trying to import it and consider whether it is necassery for a production build of your application
5 months ago
Ok, i resolved it, beacause i have line !.vscode/settings.json in file .dockerignore. This line were copy into app, But my source not have
5 months ago
Awesome, glad you solved it! So it was the case that your GitHub repo (source) didn't have it then, if I understand you correctly? Just want to make sure I know what ended up being the solution.
dev
Are you the same person as "nhannv9" (original poster)?To answer your question: probably not, if anything that would work completely against us since if the app is being built using Docker that would add another layer that ignores that folder but what we actually need is for that folder to not be ignored because something in the project files need it.Check if .vscode exists in your github repoIf it doesn't exist, make sure it's not listed in your .gitignore fileAlthough the fact your project needs something from .vscode is already weird to me, so alternatively you can find whatever is trying to import it and consider whether it is necassery for a production build of your application
5 months ago
Noo, Im not. I was looking through the questions and thought that maybe it will help
kiranchai
Noo, Im not. I was looking through the questions and thought that maybe it will help
5 months ago
oooh okay, thank you for helping!!!
dev
oooh okay, thank you for helping!!!
5 months ago
of course, happy to help!
Status changed to Solved noahd • 6 months ago