-
Book Overview & Buying
-
Table Of Contents
Rust Web Programming - Third Edition
By :
In this chapter, we built the infrastructure and scripting to fully automate the build and deployment of our servers to Docker Hub. We then built out our database and server for deployment. We also built tiny distroless images and could support multiple different servers that can be run just via the type of command passed into the image when creating a container. These skill sets are not just restricted to deploying a web server. At a fundamental level, you understand the linking of libraries and how to package Rust software to run efficiently. I have used my Docker knowledge to run Rust code that directly interacts with GPUs, as Docker enables us to run our Rust code with libraries and drivers installed for a specific purpose without having to alter the machine in general. With volumes, there is nothing stopping you from building a tiny binary that listens to Unix sockets via a volume to run in the background of your computer.
As for our web app, it is very unsecure....