Ver código fonte

revert: remove git lfs pull from Dockerfile, pull on host instead

kinglee 1 semana atrás
pai
commit
44eb1cb9da
1 arquivos alterados com 1 adições e 2 exclusões
  1. 1 2
      Dockerfile

+ 1 - 2
Dockerfile

@@ -1,11 +1,10 @@
 FROM node:18-alpine AS builder
-RUN apk add --no-cache git git-lfs
+RUN apk add --no-cache git
 WORKDIR /app
 RUN npm install -g pnpm@9.3.0
 COPY package.json pnpm-lock.yaml ./
 RUN pnpm install --frozen-lockfile
 COPY . .
-RUN git lfs pull
 ARG APP_TITLE=成都网讯MaaS底座
 ARG ENABLE_PLAYGROUND=true
 ENV APP_TITLE=$APP_TITLE