From the course: MLOps Tools: MLflow and Hugging Face

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Containerizing Hugging Face

Containerizing Hugging Face

- [Instructor] Now that we have seen a quick overview of this huggingface-ghcr, and we'll see later why that is important. Now that we've seen a little bit of the kind of, like, how huggingface would work with FastAPI, let's look at how we would containerize huggingface. So we have already the application, but now we want to see some of these files and specifically the Docker file and how is the web application going to be part of this container. So what we're going to be doing here right now is going to take a look at Docker file and then see what are the important parts when you're constructing, you're building, you're containerizing this web application. So the first thing that, and this is just 13 lines of a configuration file for Docker. It's called a Docker file. If you're familiar with Docker, then this will feel very straightforward. If you're not, it is just a configuration file so that we know how to construct this container. We're going to start from the top. We're going to…

Contents