1、change dockerfile config
This commit is contained in:
parent
35673e3724
commit
dd0b3cd6f2
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user