leezhuuu commited on
Commit
06df12e
1 Parent(s): 46a86df

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -33,8 +33,8 @@ WORKDIR /app
33
 
34
  # 复制所有文件,然后显式复制 model_server.py 和 web_demo.py
35
  COPY . /app
36
- COPY ./model_server.py /app/ # 显式复制
37
- COPY ./web_demo.py /app/ # 显式复制
38
 
39
 
40
  RUN python -m venv .venv
@@ -53,7 +53,7 @@ WORKDIR /app
53
  # 从构建阶段复制必要的文件和目录
54
  COPY --from=builder /app/.venv /app/.venv
55
  COPY --from=builder /app/glm-4-Voice-decoder /app/glm-4-Voice-decoder
56
- COPY --from=builder /app/model_server.py /app/
57
  COPY --from=builder /app/web_demo.py /app/
58
 
59
 
 
33
 
34
  # 复制所有文件,然后显式复制 model_server.py 和 web_demo.py
35
  COPY . /app
36
+ COPY ./model_server.py /app/
37
+ COPY ./web_demo.py /app/
38
 
39
 
40
  RUN python -m venv .venv
 
53
  # 从构建阶段复制必要的文件和目录
54
  COPY --from=builder /app/.venv /app/.venv
55
  COPY --from=builder /app/glm-4-Voice-decoder /app/glm-4-Voice-decoder
56
+ COPY --from=builder /app/model_server.py /app/
57
  COPY --from=builder /app/web_demo.py /app/
58
 
59