Skip to content

Commit 36b638b

Browse files
authored
Bump max-base to 1.4.2 (#167)
1 parent 980b02e commit 36b638b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2018-2019 IBM Corp. All Rights Reserved.
2+
# Copyright 2018-2021 IBM Corp. All Rights Reserved.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
1414
# limitations under the License.
1515
#
1616

17-
FROM quay.io/codait/max-base:v1.4.0
17+
FROM quay.io/codait/max-base:v1.4.2
1818

1919
# hadolint ignore=DL3004
2020
RUN sudo apt-get update && sudo apt-get -y install libatlas3-base && sudo rm -rf /var/lib/apt/lists/*
@@ -38,8 +38,7 @@ RUN wget -O - -nv --show-progress --progress=bar:force:noscroll https://github.c
3838
# hadolint ignore=DL3045,DL3059
3939
COPY requirements.txt .
4040

41-
# hadolint ignore=DL3042
42-
RUN pip install -r requirements.txt
41+
RUN pip install --no-cache-dir -r requirements.txt
4342

4443
# hadolint ignore=DL3045
4544
COPY . .

api/predict.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright 2018-2019 IBM Corp. All Rights Reserved.
2+
# Copyright 2018-2021 IBM Corp. All Rights Reserved.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -15,7 +15,7 @@
1515
#
1616

1717
from maxfw.core import MAX_API, PredictAPI, CustomMAXAPI
18-
from flask_restplus import fields
18+
from flask_restx import fields
1919
from werkzeug.datastructures import FileStorage
2020
from core.model import ModelWrapper
2121

0 commit comments

Comments
 (0)