anpassungen am woodpecker und fly .toml
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@ -16,8 +16,6 @@ steps:
|
|||||||
from_secret: FLY_API_TOKEN
|
from_secret: FLY_API_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- cd backend
|
- cd backend
|
||||||
- npm install --no-audit --no-fund
|
|
||||||
- npm run build
|
|
||||||
- curl -L https://fly.io/install.sh | sh
|
- curl -L https://fly.io/install.sh | sh
|
||||||
- export PATH="$HOME/.fly/bin:$PATH"
|
- export PATH="$HOME/.fly/bin:$PATH"
|
||||||
- flyctl deploy --config fly.toml --app gallus-cms-backend --remote-only
|
- flyctl deploy --config fly.toml --app gallus-cms-backend --remote-only
|
||||||
|
|||||||
@ -3,6 +3,8 @@ app = "gallus-cms-backend"
|
|||||||
primary_region = "ams"
|
primary_region = "ams"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
|
# Ensure Fly uses the Dockerfile in this backend directory
|
||||||
|
dockerfile = "Dockerfile"
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
PORT = "8080"
|
PORT = "8080"
|
||||||
|
|||||||
Reference in New Issue
Block a user