mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 00:29:09 +08:00
Support multi-arch docker build
This commit is contained in:
@@ -9,7 +9,7 @@ WORKDIR /app
|
||||
COPY package.json yarn.lock* package-lock.json* ./
|
||||
|
||||
RUN \
|
||||
if [ -f yarn.lock ]; then yarn --frozen-lockfile; \
|
||||
if [ -f yarn.lock ]; then yarn install --frozen-lockfile --network-timeout 100000; \
|
||||
elif [ -f package-lock.json ]; then npm ci; \
|
||||
else echo "Lockfile not found." && exit 1; \
|
||||
fi
|
||||
|
Reference in New Issue
Block a user