mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
build(Dockerfile-web): 移除阿里云镜像源配置- 删除了 Dockerfile 中针对中国用户的阿里云镜像源配置- 保留了安装 Nginx 并清理缓存的逻辑
This commit is contained in:
parent
0948ea62e0
commit
b816273a2c
1 changed files with 0 additions and 3 deletions
|
|
@ -16,9 +16,6 @@ RUN mvn clean package -Dmaven.test.skip=true
|
|||
# 第三阶段:构建最终镜像
|
||||
FROM eclipse-temurin:21-jdk-jammy
|
||||
|
||||
# if you located in China, you can use aliyun mirror to speed up
|
||||
RUN sed -i 's@deb.debian.org@mirrors.aliyun.com@g' /etc/apt/sources.list.d/debian.sources
|
||||
|
||||
# 安装Nginx并清理缓存
|
||||
RUN apt-get update && \
|
||||
apt-get install -y nginx && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue