1、change dockerfile config

This commit is contained in:
redhat 2025-05-21 17:42:04 +08:00
parent 35673e3724
commit dd0b3cd6f2

View File

@ -24,13 +24,13 @@ FROM alpine
WORKDIR /app
# 从builder镜像中把静态文件拷贝到当前目录
COPY ./static .
COPY ./static ./static
# 从builder镜像中把配置文件拷贝到当前目录
COPY ./config .
COPY ./config ./config
# 从builder镜像中把/dist/app 拷贝到当前目录
COPY --from=builder /build/dash .
# 需要运行的命令
ENTRYPOINT ["/app/dash"]
CMD ["/app/dash"]