examples/docker at master · FullStackAlex/examples · GitHub
Skip to content

Latest commit

 

History

History
 
 

Folders and files

README.md

Docker sample

Build image

docker build -t actix-docker .

Run built image

docker run -d -p 8080:8080 actix-docker
# and the server should start instantly
curl http://localhost:8080

Running unit tests

docker build -t actix-docker:test .
docker run --rm actix-docker:test