🐳 Testing Rust docker image. This repo is a simple example of how to package a Rust app in a Docker container using docker-compose.
- docker-ce
- docker-compose
To run the Rust API, please execute the following commands from the root directory:
-
Run the server as a docker container with docker-compose
docker-compose up -d --build
For checking the logs of the whole stack in real time, the following command is recommend it:
docker-compose logs -f
MIT © Rust Docker Image Test