1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-26 18:18:51 +01:00

Add Workflow for building and releasing Docker image

This commit is contained in:
2023-08-18 15:55:33 +02:00
parent 30b3a6f366
commit f014cffe41
12 changed files with 220 additions and 11 deletions

8
bin/docker-entrypoint Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash -e
# If running the rails server then create or migrate existing database
if [ "${*}" == "./bin/rails server" ]; then
./bin/rails db:prepare
fi
exec "${@}"