Reorder apk before WORKDIR commands to optimize build order

This commit is contained in:
Tarod BOFH 2024-04-27 16:01:28 +02:00
parent 847a2185c8
commit 1097ac98af
Signed by untrusted user: Cbr
GPG Key ID: 6861832A1DABEE21

View File

@ -10,8 +10,8 @@ RUN git clone https://dev.sp-tarkov.com/SPT-AKI/Server.git . && \
git lfs pull
FROM node:20.11.1-alpine AS builder
WORKDIR /app
RUN apk add git git-lfs
WORKDIR /app
COPY --from=fetch /repo .
WORKDIR /app/project
RUN npm install -g npm@10.5.1