Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker base images #8

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move expose
bdattoma committed Feb 26, 2024
commit 69c13d7418e92e88e0cd171b7a58302f335f491c
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -18,8 +18,6 @@ ARG FVT_DIR=/data1/modelmesh-example-models/fvt

FROM quay.io/centos/stream9-minimal as os
ARG MODEL_DIR
EXPOSE 9000

USER root

RUN useradd -u 1000 -g 0 modelmesh &&\
@@ -31,6 +29,8 @@ RUN useradd -u 1000 -g 0 modelmesh &&\
FROM quay.io/minio/minio:RELEASE.2024-02-26T09-33-48Z as minio
ARG FVT_DIR
ARG MODEL_DIR
EXPOSE 9000

COPY --chown=1000:0 keras ${MODEL_DIR}/keras/
COPY --chown=1000:0 lightgbm ${MODEL_DIR}/lightgbm/
COPY --chown=1000:0 onnx ${MODEL_DIR}/onnx/