-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12eb96f
commit 603f1fc
Showing
3 changed files
with
7 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
ARG DEBIAN_VERSION=bookworm | ||
ARG NODE_VERSION=20 | ||
|
||
## Use a builder | ||
## | ||
|
||
FROM node:16-bookworm-slim as Builder | ||
FROM node:${NODE_VERSION}-${DEBIAN_VERSION}-slim as Builder | ||
LABEL maintainer="[email protected]" | ||
|
||
# git is required to pull some node packages from github | ||
|
@@ -35,7 +38,7 @@ RUN \ | |
## Copy to final container | ||
## | ||
|
||
FROM node:16-bookworm-slim | ||
FROM node:${NODE_VERSION}-${DEBIAN_VERSION}-slim | ||
LABEL maintainer="[email protected]" | ||
|
||
ARG APP | ||
|
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