This message was deleted.
# ask-for-help
s
This message was deleted.
🏁 1
πŸ’Ύ 1
b
Could u try upgrading your Bento to the latest version and try again?
s
v1.0.10
right? I'll try!
b
yup
s
Things change a bit... but problem's not solved
Copy code
=> ERROR [base-debian  8/10] RUN --mount=type=cache,target=/root/.cache/pip bash -euxo pipefail /home/bentoml/bento/env/python/install.sh                                                                                                                                  0.9s
------
 > [base-debian  8/10] RUN --mount=type=cache,target=/root/.cache/pip bash -euxo pipefail /home/bentoml/bento/env/python/install.sh:
#13 0.796 bash: /home/bentoml/bento/env/python/install.sh: No such file or directory
------
executor failed running [/bin/bash -eo pipefail -c bash -euxo pipefail /home/bentoml/bento/env/python/install.sh]: exit code: 1
I think the message is almost same πŸ€”
b
this is a bit weird
you did
bentoml build -f bentofile.yaml
?
s
I use
bentoml build
and `bentoml build -f bentofile.yaml`both. Got same message πŸ₯²
b
how does your bentofile look like?
maybe your unintentionally excluding some files in maybe
.dockerignore
are you doing
bentoml containerize
?
s
Copy code
service: "load.py:svc"  # Same as the argument passed to `bentoml serve`
labels:
    owner: sanghyub.lee
    stage: dev
include:
- "*.py"  # A pattern for matching which files to include in the bento
python:
    packages:  # Additional pip packages required by the service
    - torch >= 1.13
    - torchvision >= 0.14.0
    - bentoml >= 1.0.2
    - mlflow >= 1.27.0
This is my bentofile.yaml. I'm doing
docker build
cuz I need docker image. Oh my god...
docker build
and
bentoml containerize
are totally different right? πŸ˜‚
Doing
bentoml containerize
, It seems going well
b
LOL yeah
containerize
does some extra stuff πŸ˜›
🦜 1
s
Done Well!!!! Thank you very much!
πŸŽ‰ 1
b
Hurray!
🍱 1
πŸ‘ 1
a
Hi there, thanks for the support @Benjamin Tan. Sorry for the late response,
containerize
extends docker build that add a few more features on top of it ( you can check out
bentoml containerize --help
for more information) If you wish to build the bento from the dockerfile you can do the following
Copy code
BENTO_PATH=$(b get bento:tag -o path)
docker build -f $BENTO_PATH/env/docker/Dockerfile $BENTOML_PATH