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

fixes to get the docker image built properly #364

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ RUN useradd -u 1000 -s /bin/bash mlserver -d /opt/mlserver && \
chown -R 1000:0 /opt/mlserver && \
chmod -R 776 /opt/mlserver

USER 1000

COPY --from=wheel-builder /opt/mlserver/dist ./dist
RUN pip install --upgrade pip wheel setuptools && \
if [[ $RUNTIMES == "all" ]]; then \
Expand All @@ -56,6 +54,8 @@ COPY ./licenses/license.txt .

COPY ./hack/activate-env.sh ./hack/activate-env.sh

USER 1000

# Need to source `activate-env.sh` so that env changes get persisted
CMD . ./hack/activate-env.sh $MLSERVER_ENV_TARBALL \
&& mlserver start $MLSERVER_MODELS_DIR
2 changes: 1 addition & 1 deletion runtimes/alibi-explain/mlserver_alibi_explain/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.1.dev1"
__version__ = "0.6.0.dev0"