Environment preparation
This recipe will show you how to develop the Docker container needed to run this 3D model generator and encoder. This chapter relies on the previous chapter, where you used the Kaggle API to download data. We'll use the same API to download data for this chapter.
Getting ready
As with previous chapters, we'll need to make sure that we have a folder created in the home directory on your Ubuntu machine. Check to make sure your directory structure appears as follows:
├── data ├── docker │ ├── build.sh │ ├── clean.sh │ ├── Dockerfile │ └── kaggle.json ├── out ├── README.md └── src
How to do it...
The Docker container is the heart of how we run these recipes—this chapter will start by building the infrastructure and will end with building the Docker container.
Creating the Docker container
This is how to create the Docker container for this chapter:
- Create a file under the
docker
folder calledDockerfile
and place the following text into the file:
FROM base_image
Note
This...