add --depth=1 to git clone.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
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