Quellcode durchsuchen

add exec command to entrypoint

Yeuoly vor 7 Monaten
Ursprung
Commit
86dc39ec99
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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"]