fix(docker-usage): single image setup
This commit is contained in:
parent
b3b8a05bd2
commit
a661450633
20 changed files with 240 additions and 203 deletions
8
docker/etc/s6-overlay/services/backend/run
Normal file
8
docker/etc/s6-overlay/services/backend/run
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
cd /app/backend
|
||||
|
||||
# Run database migrations before starting the app
|
||||
yarn db:push
|
||||
|
||||
# Start the application
|
||||
exec node dist/app.js
|
||||
Loading…
Add table
Add a link
Reference in a new issue