mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-03-14 06:22:48 +03:00
Update node
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
FROM node:18-alpine as builder
|
||||
FROM node:24-alpine AS builder
|
||||
RUN apk add --no-cache --virtual .build-deps python3 make g++
|
||||
COPY package.json package-lock.json tsconfig.json entrypoint.sh ./
|
||||
COPY src src
|
||||
RUN npm ci && npm run tsc
|
||||
|
||||
FROM node:18-alpine as app
|
||||
FROM node:24-alpine AS app
|
||||
WORKDIR /usr/src/app
|
||||
RUN apk add --no-cache git postgresql-client
|
||||
COPY --from=builder ./node_modules ./node_modules
|
||||
|
||||
Reference in New Issue
Block a user