add --depth=1 to git clone.
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
FROM node:20.11.1-alpine AS fika-builder
|
||||
RUN apk add --no-cache git git-lfs unzip && \
|
||||
git clone -b spt-3.10 https://github.com/project-fika/Fika-Server.git /fika-server && \
|
||||
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 && \
|
||||
cd /fika-server && \
|
||||
npm install && npm run build && \
|
||||
mkdir output && cd output && unzip /fika-server/dist/fika-server.zip
|
||||
|
||||
FROM node:20.11.1-alpine AS server-builder
|
||||
RUN apk add --no-cache git git-lfs && \
|
||||
git clone -b 3.10.0-DEV https://github.com/AirryCo/spt-server.git /spt-server && \
|
||||
git clone -b 3.10.0-DEV --depth=1 https://github.com/AirryCo/spt-server.git /spt-server && \
|
||||
cd /spt-server && git lfs pull && \
|
||||
cd project && \
|
||||
npm install && npm run build:release
|
||||
|
||||
Reference in New Issue
Block a user