Skip to content

Commit

Permalink
chore(website): set node version in docker file through arg
Browse files Browse the repository at this point in the history
  • Loading branch information
corneliusroemer committed May 9, 2024
1 parent b72da5a commit 12c0590
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM node:lts-alpine as build-deps
ARG NODE_VERSION=22
FROM node:${NODE_VERSION}-alpine as build-deps

WORKDIR /app

COPY .env.docker .env
Expand All @@ -8,7 +10,7 @@ RUN npm ci
COPY . .
RUN npm run build

FROM node:lts-alpine
FROM node:${NODE_VERSION}-alpine

WORKDIR /app

Expand Down

0 comments on commit 12c0590

Please sign in to comment.