mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-07-01 12:32:09 +00:00
Update Dockerfile
for yarn
This commit is contained in:
parent
ffb78cacc8
commit
8710c4f71d
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@ FROM node:20-alpine AS builder
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
COPY package.json yarn.lock ./
|
||||
RUN corepack enable
|
||||
RUN yarn install --frozen-lockfile --network-timeout 600000
|
||||
|
||||
|
@ -23,7 +23,7 @@ COPY --from=builder /app/package.json ./package.json
|
|||
COPY --from=builder /app/yarn.lock ./yarn.lock
|
||||
|
||||
RUN corepack enable
|
||||
RUN RUN npm install
|
||||
RUN yarn install --frozen-lockfile --network-timeout 600000
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
|
|
Loading…
Reference in a new issue