修改地址逻辑
All checks were successful
构建并部署 Spring Boot 应用 / build-and-deploy (push) Successful in 19m57s
All checks were successful
构建并部署 Spring Boot 应用 / build-and-deploy (push) Successful in 19m57s
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user