added docker-compose.yml to the game_template directory

This commit is contained in:
Dan Feeney 2016-12-14 18:22:46 -06:00 committed by Griatch
parent f5f61ea5ba
commit 84ec9f15a2
2 changed files with 13 additions and 1 deletions

View file

@ -1,7 +1,6 @@
FROM python:2.7-alpine
MAINTAINER Dan Feeney "feend78@gmail.com"
RUN apk update && apk add gcc musl-dev
ENV REFRESHED_AT 2016-12-09
ADD . /usr/src/evennia
RUN pip install -e /usr/src/evennia
ONBUILD ADD . /usr/src/game

View file

@ -0,0 +1,13 @@
version: '2'
services:
mygame:
build: .
image: myuser/mygame
stdin_open: true
tty: true
ports:
- "8000-8001:8000-8001"
- "4000:4000"
volumes:
- .:/usr/src/game