Update Dockerfile, add docker-compose for prod and dev environment, cleanup some old things

This commit is contained in:
ErickSkrauch
2018-02-16 00:01:46 +03:00
parent 55f52d0ad4
commit acd0237fac
12 changed files with 69 additions and 154 deletions

12
docker-entrypoint.sh Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
set -e
if [ ! -d /data/capes ]; then
mkdir -p /data/capes
fi
if [ "$1" = "serve" ] || [ "$1" = "token" ] || [ "$1" = "version" ]; then
set -- /usr/local/bin/chrly "$@"
fi
exec "$@"