Skip to content

Commit

Permalink
fix: node version in container
Browse files Browse the repository at this point in the history
  • Loading branch information
paring-chan committed Jan 2, 2024
1 parent 846fdd2 commit e234ab4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
id: buildx
with:
platforms: linux/amd64,linux/arm64

- name: Login to container registry
uses: docker/login-action@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM node:18-alpine AS builder
FROM --platform=$BUILDPLATFORM node:20-alpine AS builder

RUN mkdir -p /app

Expand Down Expand Up @@ -41,7 +41,7 @@ RUN cat package.json | jq 'del(.devDependencies) | del(.resolutions) | del(.scri

RUN pnpm pack && mv adofai-gg-*.tgz package.tgz

FROM node:18-alpine AS runner
FROM node:20-alpine AS runner

COPY --from=builder /app/package.tgz .

Expand Down

0 comments on commit e234ab4

Please sign in to comment.