bentoml / BentoML

The easiest way to serve AI apps and models - Build Model Inference APIs, Job queues, LLM apps, Multi-model pipelines, and more!
https://bentoml.com
Apache License 2.0
7.13k stars 791 forks source link

Rc0 release broke dockerfile for windows support #2563

Closed timliubentoml closed 2 years ago

timliubentoml commented 2 years ago

Describe the bug

From support channel in slack https://bentoml.slack.com/archives/CKRANBHPH/p1654618223220669

User mentions that windows support was working with a7 but not rc0.

It seems to be a path issue within the generated dockerfile (path with "\" and "/" raise an error), for example line 118 this command raises an error RUN chmod +x /home/bentoml/bento\env\docker\entrypoint.sh

Docker file contains slashes which are not compatible with windows

To Reproduce

Expected behavior

Screenshots/Logs

Environment:

Additional context

aarnphm commented 2 years ago

2547 will fix this