docker: change builder from node:20.11.1-alpine to node:20.11.1-bullyseye.
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
FROM node:20.11.1-alpine AS server-builder
|
||||
RUN apk add --no-cache git git-lfs && \
|
||||
FROM node:20.11.1-bullseye AS server-builder
|
||||
RUN apt update && apt install -y git git-lfs p7zip-full && \
|
||||
git clone -b 3.10.0-DEV --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \
|
||||
cd /snapshot && git lfs pull && \
|
||||
cd project && \
|
||||
npm install && npm run build:release
|
||||
npm install && npm run build:release && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
FROM debian:bookworm-slim
|
||||
LABEL author="AirryCo <henry@stblog.com.cn>"
|
||||
|
||||
Reference in New Issue
Block a user