@@ -137,6 +137,7 @@ func deployPythonContainer(api *spec.API, awsClient *aws.Client) error {
137
137
138
138
containerConfig := & container.Config {
139
139
Image : api .Predictor .Image ,
140
+ Tty : true ,
140
141
Env : append (
141
142
getAPIEnv (api , awsClient ),
142
143
),
@@ -210,6 +211,7 @@ func deployONNXContainer(api *spec.API, awsClient *aws.Client) error {
210
211
211
212
containerConfig := & container.Config {
212
213
Image : api .Predictor .Image ,
214
+ Tty : true ,
213
215
Env : append (
214
216
getAPIEnv (api , awsClient ),
215
217
),
@@ -272,6 +274,7 @@ func deployTensorFlowContainers(api *spec.API, awsClient *aws.Client) error {
272
274
273
275
serveContainerConfig := & container.Config {
274
276
Image : api .Predictor .TensorFlowServingImage ,
277
+ Tty : true ,
275
278
Cmd : strslice.StrSlice {
276
279
"--port=" + _tfServingPortStr , "--model_base_path=" + _modelDir ,
277
280
},
@@ -334,6 +337,7 @@ func deployTensorFlowContainers(api *spec.API, awsClient *aws.Client) error {
334
337
335
338
apiContainerConfig := & container.Config {
336
339
Image : api .Predictor .Image ,
340
+ Tty : true ,
337
341
Env : append (
338
342
getAPIEnv (api , awsClient ),
339
343
"CORTEX_TF_SERVING_PORT=" + _tfServingPortStr ,
0 commit comments