Skip to content
Open
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
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM node:20-alpine AS builder
RUN apk add --no-cache tini
RUN apk upgrade --no-cache && apk add --no-cache tini
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
Expand All @@ -8,7 +8,8 @@ COPY src ./src
RUN NODE_OPTIONS=--max-old-space-size=4096 npx tsc
RUN npm prune --production

FROM dhi.io/node:20-alpine3.23
FROM node:20-alpine
RUN apk upgrade --no-cache
WORKDIR /app
COPY --from=builder /sbin/tini /sbin/tini
COPY --from=builder /app/dist ./dist
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vechain/vebetterdao-relayer-node",
"version": "0.0.3",
"version": "0.1.0",
"description": "Standalone relayer node for VeBetterDAO auto-voting and reward claiming",
"main": "dist/index.js",
"license": "MIT",
Expand Down
Loading
Loading