AlbertSuarez / rust-docker-image-test

🐳 Testing Rust docker image

Home Page:https://asuarez.dev/rust-docker-image-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rust Docker image test

HitCount GitHub stars GitHub forks GitHub contributors GitHub license

🐳 Testing Rust docker image. This repo is a simple example of how to package a Rust app in a Docker container using docker-compose.

Requirements

  1. docker-ce
  2. docker-compose

Usage

To run the Rust API, please execute the following commands from the root directory:

  1. Run the server as a docker container with docker-compose

    docker-compose up -d --build

Logging

For checking the logs of the whole stack in real time, the following command is recommend it:

docker-compose logs -f

Authors

License

MIT © Rust Docker Image Test

About

🐳 Testing Rust docker image

https://asuarez.dev/rust-docker-image-test

License:MIT License


Languages

Language:Rust 97.8%Language:Dockerfile 2.2%