This commit is contained in:
AirryCo
2025-03-19 13:20:20 +08:00
parent 860268fb9c
commit 32cdb0c07a
4 changed files with 42 additions and 90 deletions

View File

@@ -1,13 +1,13 @@
FROM node:20.11.1-alpine AS fika-builder
RUN apk add --no-cache git unzip && \
git clone -b v2.3.6 --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
git clone -b v2.4.1 --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
cd /fika-server && \
npm install && npm run build && \
mkdir output && cd output && unzip /fika-server/dist/*.zip
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.5 --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \
git clone -b 3.11.1 --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \
cd /snapshot && git lfs pull && \
cd project && \
npm install && npm run build:release && \