Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18.14.1-alpine3.17 as ts-compile
FROM node:20.8.0-alpine3.17 AS ts-compile
WORKDIR /usr/tc-dynamo-dal
COPY yarn*.lock ./
COPY package*.json ./
Expand All @@ -8,15 +8,15 @@ RUN yarn install --frozen-lockfile --production=false
COPY . ./
RUN yarn build:app

FROM node:18.14.1-alpine3.17 as ts-remove
FROM node:20.8.0-alpine3.17 AS ts-remove
WORKDIR /usr/tc-dynamo-dal
COPY --from=ts-compile /usr/tc-dynamo-dal/yarn*.lock ./
COPY --from=ts-compile /usr/tc-dynamo-dal/package*.json ./
COPY --from=ts-compile /usr/tc-dynamo-dal/dist ./
COPY --from=ts-compile /usr/tc-dynamo-dal/.npmrc ./
RUN yarn install --frozen-lockfile --production=false

FROM gcr.io/distroless/nodejs:18
FROM gcr.io/distroless/nodejs20-debian12
WORKDIR /usr/tc-dynamo-dal
COPY --from=ts-remove /usr/tc-dynamo-dal ./
USER 1000
Expand Down
2 changes: 1 addition & 1 deletion bin/proto.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { execSync } = require("child_process");

const PROTO_DIR = path.join(
__dirname,
"../node_modules/topcoder-interface/data-access-layer/nosql"
"../node_modules/topcoder-proto-registry/data-access-layer/nosql"
);

const PROTO_REFLECTIONS = path.join(__dirname, "../reflections/reflection.bin");
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,22 @@
"@aws-sdk/client-dynamodb": "^3.183.0",
"@aws-sdk/util-dynamodb": "^3.183.0",
"@grpc/grpc-js": "^1.7.1",
"@topcoder-framework/lib-common": "^0.10.15",
"topcoder-proto-registry": "0.1.0",
"@topcoder-framework/lib-common": "0.24.0",
"dotenv": "^16.0.3",
"grpc-server-reflection": "^0.1.5",
"lodash": "^4.17.21",
"topcoder-interface": "github:topcoder-platform/plat-interface-definition#v0.0.49"
"lodash": "^4.17.21"
},
"volta": {
"node": "18.14.1",
"typescript": "4.9.4",
"typescript": "5.2.2",
"node": "20.8.0",
"yarn": "1.22.19"
},
"devDependencies": {
"@types/node": "^18.11.17",
"rimraf": "^4.1.2",
"ts-node-dev": "^2.0.0",
"ts-proto": "^1.126.1",
"typescript": "^4.9.4"
"typescript": "^5.2.2"
}
}
Loading