initial commit
Some checks failed
release-tag / release-image (push) Failing after 1m14s

This commit is contained in:
konchin
2024-10-11 19:49:58 +08:00
commit 2d7361e937
38 changed files with 4029 additions and 0 deletions

11
Dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM node:22.4-slim AS build
WORKDIR /work
COPY ./package.json ./package-lock.json .
RUN npm ci && npm run build
FROM gcr.io/distroless/nodejs22-debian12
WORKDIR /work
COPY --from=build /work /work
COPY . /work
CMD ["index.js"]