fix cicd fail
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Has been cancelled
Some checks failed
Build and Deploy Log Center / build-and-deploy (push) Has been cancelled
This commit is contained in:
parent
eeb27514bb
commit
b2a2b1079f
@ -80,7 +80,8 @@ jobs:
|
||||
|
||||
- name: Setup Kubectl
|
||||
run: |
|
||||
curl -LO "https://files.m.daocloud.io/dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl"
|
||||
curl -LO "https://dl.k8s.io/release/v1.28.2/bin/linux/amd64/kubectl" || \
|
||||
curl -LO "https://mirrors.aliyun.com/kubernetes/kubectl/v1.28.2/bin/linux/amd64/kubectl"
|
||||
chmod +x kubectl
|
||||
mv kubectl /usr/local/bin/
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ WORKDIR /app
|
||||
|
||||
# Install dependencies
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple/ -r requirements.txt
|
||||
|
||||
# Production stage
|
||||
FROM python:3.12-slim AS production-stage
|
||||
|
||||
@ -5,7 +5,7 @@ WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
RUN npm install
|
||||
RUN npm config set registry https://registry.npmmirror.com && npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user