branches fixed.

This commit is contained in:
AirryCo
2024-12-03 15:50:16 +08:00
parent eb90811e21
commit f9d7e03781
3 changed files with 4 additions and 4 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 spt-3.10 --depth=1 https://github.com/project-fika/Fika-Server.git /fika-server && \
git clone -b main --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/fika-server.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.0-DEV --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \
git clone -b 3.10.x-DEV --depth=1 https://github.com/AirryCo/spt-server.git /snapshot && \
cd /snapshot && git lfs pull && \
cd project && \
npm install && npm run build:release && \