2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 08:41:51 +00:00

add all the docker commands to bulid and run troggle in a container (more of a guide than something to run)

This commit is contained in:
Sam Wenham 2018-04-11 22:32:47 +01:00
parent 776152ef47
commit 458d0e1ebc

View File

@ -1,2 +1,7 @@
cd docker
docker run -it --rm --link expo-mysql:mysql -v /home/sam/expo/troggle:/expo python:2.7-wheezy /bin/bash
docker run -it --name expo-mysql -e MYSQL_ROOT_PASSWORD=expo123 mariadb
docker build -t expo/troggle:django-1.5.12 .
docker run -it --rm --link expo-mysql:mysql -v /home/sam/expo:/expo expo/troggle:django-1.5.12 /bin/bash