File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 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.
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
2020RUN 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
3939COPY 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
4544COPY . .
Original file line number Diff line number Diff line change 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.
1515#
1616
1717from maxfw .core import MAX_API , PredictAPI , CustomMAXAPI
18- from flask_restplus import fields
18+ from flask_restx import fields
1919from werkzeug .datastructures import FileStorage
2020from core .model import ModelWrapper
2121
You can’t perform that action at this time.
0 commit comments