-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ✅ Copy package.json and package-lock.json in Dockerfile
Now the dockerfile will copy the package.json and package-lock.json. Additionally npm clean-install instead of install will be called in the root folder. This downloads all dependencies without possibly modifying the lock file.
- Loading branch information
Showing
2 changed files
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# Node modules | ||
node_modules | ||
frontend/node_modules | ||
backend/node_modules | ||
|
||
# Build folders | ||
frontend/build | ||
backend/dist | ||
backend/static | ||
|
||
# Workers | ||
frontend/public/dist | ||
|
||
npm-debug.log | ||
.env.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters