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