edwardyoon / heimdallr

Heimdallr, a Large-scale chat application server based on Redis Pubsub and Akka's actor model.
Apache License 2.0
54 stars 14 forks source link

Create a Dockerfile #21

Closed raincloudsun closed 5 years ago

raincloudsun commented 5 years ago

Docker Build

]$docker build -t heimdallr:v0.x .

Docker Run

#!/bin/bash
DOCKER_IMAGE="heimdallr:v"$1
docker run -i -t -d -p 8080:8080 -p 8008:8008 -p 6379:6379 $DOCKER_IMAGE
raincloudsun commented 5 years ago

https://github.com/edwardyoon/Heimdallr/pull/22