ソースを参照

add exec command to entrypoint

Yeuoly 6 ヶ月 前
コミット
86dc39ec99
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -35,4 +35,4 @@ ENV PLATFORM=$PLATFORM
 ENV GIN_MODE=release
 
 # run the server, using bash as the entrypoint to recycle resources
-CMD ["/bin/bash", "-c", "/app/main"]
+CMD ["/bin/bash", "-c", "exec /app/main"]