forked from Rezel/QrcodeRedirect
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
385 B
19 lines
385 B
#!/bin/bash
|
|
|
|
# This file is executed to build and start the application
|
|
# The following operations are not executed in the Dockerfile as they rely on environment variables provided by Dokku exclusively during runtime
|
|
|
|
# Install app dependencies
|
|
mix deps.update -all
|
|
mix deps.get
|
|
|
|
# Install assets
|
|
cd assets
|
|
npm install
|
|
cd ..
|
|
|
|
# Migrate DB
|
|
mix ecto.setup
|
|
|
|
# Start the app
|
|
mix phx.server
|