Explorar el Código

add exec command to entrypoint

Yeuoly hace 6 meses
padre
commit
86dc39ec99
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"]