choreuse custom dockerfile

This commit is contained in:
JasterV 2026-01-14 10:30:09 +01:00
parent 2e8c5b8bd7
commit 6948acda4e
2 changed files with 8 additions and 2 deletions

View file

@ -29,10 +29,13 @@ jobs:
- name: Get code
uses: actions/checkout@v4
- name: Build elixir image
run: docker build -t custom-image-elixir:1.19 -f Dockerfile .
- name: Deploy PR app to Fly.io
id: deploy
uses: superfly/fly-pr-review-apps@1.2.0
with:
name: "pr-${{ github.event.pull_request.number }}-jasterv-spazio-solazzo"
image: elixir:1.19 # this is needed otherwise elixir isn't in the PATH.
image: custom-image-elixir:1.19
config: fly.review.toml

View file

@ -4,7 +4,10 @@ primary_region = "ams"
kill_signal = "SIGTERM"
[build]
dockerfile = "Dockerfile"
[deploy]
release_command = '/app/bin/migrate'
wait_timeout = "10m"
[env]
PHX_SERVER = "true"