deploy: 挂目录+替换文件部署,构建产物到 deploy/,不重建 web/admin 镜像
Made-with: Cursor
This commit is contained in:
8
server/Dockerfile.run
Normal file
8
server/Dockerfile.run
Normal file
@@ -0,0 +1,8 @@
|
||||
# 仅运行时:不包含二进制,启动时挂载 deploy/api 到 /app,/app/server 由宿主机构建
|
||||
ARG REGISTRY_MIRROR=docker.m.daocloud.io/library/
|
||||
FROM ${REGISTRY_MIRROR}alpine:3.19
|
||||
RUN apk add --no-cache ca-certificates tzdata
|
||||
ENV TZ=Asia/Shanghai
|
||||
WORKDIR /app
|
||||
EXPOSE 8088
|
||||
ENTRYPOINT ["/app/server"]
|
||||
Reference in New Issue
Block a user