Dockerfile for production

This commit is contained in:
Patrick Gansterer 2017-02-11 12:44:49 +01:00
parent 03256d28dd
commit fa32fc9229
2 changed files with 15 additions and 25 deletions

8
docker-entrypoint.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
set -e
if [ -f tmp/pids/server.pid ]; then
rm tmp/pids/server.pid
fi
exec "$@"