fix: remove China mirrors, add build-essential for voice-service
Server is on HK network, no need for China mirrors. Added build-essential for compiling native Python packages (kokoro, etc). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
9a95cdc4a9
commit
c0b4f77de5
|
|
@ -4,7 +4,7 @@ FROM node:18-alpine AS builder
|
|||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm config set registry https://registry.npmmirror.com && npm ci
|
||||
RUN npm ci
|
||||
|
||||
COPY . .
|
||||
|
||||
|
|
|
|||
|
|
@ -6,10 +6,11 @@ WORKDIR /app
|
|||
RUN apt-get update && apt-get install -y \
|
||||
ffmpeg \
|
||||
libsndfile1 \
|
||||
build-essential \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY src/ ./src/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue