-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: pipeline-driver-queue concurrent pipelines (#1244)
* fix: pipeline-driver-queue concurrentPipelines * fix two stage build build Co-authored-by: Yehiyam Livneh <[email protected]>
- Loading branch information
1 parent
3d77c92
commit d494e40
Showing
5 changed files
with
22 additions
and
22 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
.git |
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,8 +1,15 @@ | ||
ARG BASE_PRIVATE_REGISTRY="" | ||
FROM ${BASE_PRIVATE_REGISTRY}node:14.5.0 as install | ||
ADD ./package-lock.json ./package.json /hkube/pipeline-driver-queue/ | ||
WORKDIR /hkube/pipeline-driver-queue | ||
RUN npm ci --production | ||
|
||
|
||
ARG BASE_PRIVATE_REGISTRY="" | ||
FROM ${BASE_PRIVATE_REGISTRY}hkube/base-node:v1.2.0 | ||
LABEL maintainer="[email protected]" | ||
RUN mkdir /hkube | ||
COPY . /hkube/pipeline-driver-queue | ||
RUN cd /hkube/pipeline-driver-queue | ||
COPY --from=install /hkube/pipeline-driver-queue/node_modules /hkube/pipeline-driver-queue/node_modules | ||
WORKDIR /hkube/pipeline-driver-queue | ||
CMD ["node", "app.js"] |
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
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
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