From 03a3bf6d90ad9b5a5e30c7b29a8c31ed460c3595 Mon Sep 17 00:00:00 2001 From: Simon Ding Date: Mon, 22 Jul 2024 17:21:30 +0800 Subject: [PATCH] fix: entrypoint --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7732c282..532fd014 100644 --- a/Dockerfile +++ b/Dockerfile @@ -32,4 +32,6 @@ RUN apt-get update && apt-get -y install ca-certificates # 将上一个阶段publish文件夹下的所有文件复制进来 COPY --from=builder /app/polaris . -EXPOSE 8080 \ No newline at end of file +EXPOSE 8080 + +ENTRYPOINT ["./polaris"] \ No newline at end of file