Skip to content

Commit

Permalink
Updated the base node image in Dockerfile (#508)
Browse files Browse the repository at this point in the history
* Updated the base node image in Dockerfile

* Updated Node JS version in Github Workflow CI script.

---------

Co-authored-by: Julian Gruber <[email protected]>
  • Loading branch information
sumanjeet0012 and juliangruber authored Feb 3, 2025
1 parent 540c5ef commit 1320510
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22.13.1
- run: npm ci
- run: npm test

Expand All @@ -56,7 +56,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22.13.1
- run: npm ci
- run: node bin/migrate.js
- run: npm test
Expand All @@ -67,7 +67,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22.13.1
- run: npm ci
- run: npm run lint

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax = docker/dockerfile:1

# Adjust NODE_VERSION as desired
ARG NODE_VERSION=20.12.2
ARG NODE_VERSION=22.13.1
FROM node:${NODE_VERSION}-slim AS base

LABEL fly_launch_runtime="nodejs"
Expand Down

0 comments on commit 1320510

Please sign in to comment.