[Serving]fix cpu images version (#736)

fix cpu images version
This commit is contained in:
heliqi
2022-11-29 11:10:43 +08:00
committed by GitHub
parent cfb0a983ea
commit e55841ccb7

View File

@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM paddlepaddle/fastdeploy:22.09-cpu-only-min
FROM paddlepaddle/fastdeploy:21.10-cpu-only-min
ENV TZ=Asia/Shanghai \
DEBIAN_FRONTEND=noninteractive
@@ -21,7 +21,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends apt-utils libgo
&& python3 -m pip install -U pip \
&& python3 -m pip install paddlepaddle paddlenlp fast-tokenizer-python
COPY python/dist/*.whl *.whl /opt/fastdeploy/
COPY python/dist/*.whl /opt/fastdeploy/
RUN python3 -m pip install /opt/fastdeploy/*.whl \
&& rm -rf /opt/fastdeploy/*.whl