This repository has been archived by the owner on Dec 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add node version to the github pipeline
- Loading branch information
Showing
3 changed files
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
22 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
FROM node:16.20.2 as foundation | ||
ARG NODE_VERSION=22 | ||
FROM node:${NODE_VERSION} as foundation | ||
|
||
LABEL maintainer="Burak Ince <[email protected]>" | ||
|
||
|
@@ -9,7 +10,7 @@ COPY package.json package-lock.json /usr/app/ | |
RUN npm config set loglevel error | ||
RUN npm install | ||
|
||
FROM node:16.20.2-slim | ||
FROM node:${NODE_VERSION}-slim | ||
|
||
WORKDIR /usr/app | ||
|
||
|