fix: 3v3 team match wrong problems

This commit is contained in:
jakciehan
2026-05-16 09:59:54 +08:00
parent 9359139186
commit 7d17325be6
30 changed files with 441 additions and 535 deletions
+3 -9
View File
@@ -5,12 +5,8 @@ LABEL maintainer="tankwar" \
WORKDIR /app
# Install dependencies first (leverage Docker layer cache)
COPY package.json package-lock.json* ./
RUN npm install --omit=dev --no-audit --no-fund \
&& npm cache clean --force
# Copy the rest of the source
# Copy all source including node_modules (pre-installed locally)
# This avoids npm install issues due to network restrictions on build nodes
COPY . .
ENV NODE_ENV=production \
@@ -19,7 +15,5 @@ ENV NODE_ENV=production \
EXPOSE 3000
# Graceful shutdown & init for PID 1
RUN apk add --no-cache tini
ENTRYPOINT ["/sbin/tini", "--"]
# Use node directly (tini unavailable due to network restrictions on nodes)
CMD ["node", "index.js"]