Переглянути джерело

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"]