修改地址逻辑
All checks were successful
构建并部署 Spring Boot 应用 / build-and-deploy (push) Successful in 19m57s

This commit is contained in:
2025-10-26 14:20:24 +08:00
parent fc953410c3
commit adb04d34ca
3 changed files with 13 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ WORKDIR /app
# 复制 jar 文件到容器中
COPY target/light-delivery-1.0.0.jar app.jar
# 创建头像存储目录并复制头像文件
RUN mkdir -p /app/avatars
COPY avatars/ /app/avatars/
# 暴露端口
EXPOSE 8443