Skip to content

Commit

Permalink
build: Use Node LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
Clashsoft committed Jun 3, 2024
1 parent 380bb1f commit 91ffb18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-slim as builder
FROM node:lts-slim as builder
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN mkdir -p patches
Expand All @@ -13,7 +13,7 @@ WORKDIR /app
COPY assets ./assets
RUN find assets -name '*.json' -exec sh -c 'grep -v "//" "$1" | jq -c . | sponge "$1"' _ {} \;

FROM node:20-slim
FROM node:lts-slim
RUN apt update -y && apt install -y graphviz && apt clean
WORKDIR /app
ENV NODE_ENV=production
Expand Down

0 comments on commit 91ffb18

Please sign in to comment.