Selaa lähdekoodia

add exec command to entrypoint

Yeuoly 6 kuukautta sitten
vanhempi
commit
86dc39ec99
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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"]