@@ -137,6 +137,7 @@ func deployPythonContainer(api *spec.API, awsClient *aws.Client) error {
137137
138138 containerConfig := & container.Config {
139139 Image : api .Predictor .Image ,
140+ Tty : true ,
140141 Env : append (
141142 getAPIEnv (api , awsClient ),
142143 ),
@@ -210,6 +211,7 @@ func deployONNXContainer(api *spec.API, awsClient *aws.Client) error {
210211
211212 containerConfig := & container.Config {
212213 Image : api .Predictor .Image ,
214+ Tty : true ,
213215 Env : append (
214216 getAPIEnv (api , awsClient ),
215217 ),
@@ -272,6 +274,7 @@ func deployTensorFlowContainers(api *spec.API, awsClient *aws.Client) error {
272274
273275 serveContainerConfig := & container.Config {
274276 Image : api .Predictor .TensorFlowServingImage ,
277+ Tty : true ,
275278 Cmd : strslice.StrSlice {
276279 "--port=" + _tfServingPortStr , "--model_base_path=" + _modelDir ,
277280 },
@@ -334,6 +337,7 @@ func deployTensorFlowContainers(api *spec.API, awsClient *aws.Client) error {
334337
335338 apiContainerConfig := & container.Config {
336339 Image : api .Predictor .Image ,
340+ Tty : true ,
337341 Env : append (
338342 getAPIEnv (api , awsClient ),
339343 "CORTEX_TF_SERVING_PORT=" + _tfServingPortStr ,
0 commit comments