Add Dockerfile for development

This commit is contained in:
Râu Cao
2022-12-02 19:19:02 +01:00
parent 0ca85656b7
commit fa3b53d3b3
3 changed files with 32 additions and 0 deletions

8
docker/entrypoint.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
set -e
# Remove a potentially pre-existing server.pid for Rails.
rm -f /myapp/tmp/pids/server.pid
# Then exec the container's main process (what's set as CMD in the Dockerfile).
exec "$@"