An attempt at docker

This commit is contained in:
2023-10-04 14:14:06 +01:00
parent fe15365524
commit 76f10abe76
5 changed files with 86 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
if [ $# -eq 0 ]; then
# Create new or migrate existing database
./bin/rails db:prepare
# Start the server by default
exec bin/rails server
else
# Allow other commands, like console or runner, to be called
exec bin/rails "$@"
fi