forked from ydb-platform/ydb-nodejs-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: test the current code, not the already published SDK
- Loading branch information
Alexey Zorkaltsev
committed
Jun 6, 2024
1 parent
72011ec
commit eb0977c
Showing
3 changed files
with
14 additions
and
6 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,9 +1,17 @@ | ||
FROM node:19.3.0 | ||
FROM node:current | ||
|
||
# build actual SDK | ||
WORKDIR /workload | ||
COPY package* ./ | ||
COPY ./package* ./ | ||
RUN npm install | ||
COPY . . | ||
COPY ./ . | ||
RUN NODE_ENV=production npm run build | ||
|
||
ENTRYPOINT ["npm", "run", "start", "--"] | ||
# build slo-workload | ||
# SLO test is built after SDK because it depends on it | ||
WORKDIR /workload/slo-workload | ||
RUN npm install | ||
RUN NODE_ENV=production npm run build | ||
|
||
# run slo-workload | ||
ENTRYPOINT ["npm", "run", "start", "--"] |
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