mirror of
https://github.com/actix/examples
synced 2024-11-24 06:43:00 +01:00
10887568a0
Signed-off-by: Jérémie Drouet <jeremie.drouet@gmail.com>
343 B
343 B
Docker sample
Build image
docker build -t docker_sample .
Run built image
docker run -d -p 5000:5000 docker_sample
# and the server should start instantly
curl http://localhost:5000
Running unit tests
docker build -t docker_sample:test --target base .
docker run --rm docker_sample:test