feat: add Dockerfile and entrypoint script for containerized application
Some checks failed
Build Docker Image / build (push) Failing after 33s
Some checks failed
Build Docker Image / build (push) Failing after 33s
This commit is contained in:
9
docker-entrypoint.sh
Normal file
9
docker-entrypoint.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# Migrate the database
|
||||
npm run db:migrate
|
||||
|
||||
# Start the production server
|
||||
node build/index.js
|
||||
|
||||
Reference in New Issue
Block a user