![]() ![]() The overall goal is the build the Docker image in layers, but we’re stumbling at the first step of just getting the first layer ( npm install of the main project) to complete without errors. "private-repo": " :my-private-repo.git#a-branch", The "prepare" script is npm run build and the "build" script is tsc -p. The dependency project has a "prepare" script, which gets run after the npm install that is called for the dependency project, after its repo has been checked-out. However when trying to Dockerize the main project we are seeing npm build script errors that apparently make no sense. The main project installs and builds fine when running npm install (or npm ci etc) in the clone location and shell of any local dev PC OS (eg macOS, Ubuntu LTS, etc). The dependency project is also a TS project. The project has a dependency on another GitHub private repo that is referenced via " :" syntax in package.json. We have a Node TypeScript project that we are trying to Dockerize. 17th October 2021 docker, git, node.js, npm, typescript2.0 ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |