From 7c5b7e62fe15346f97639d68f8b82ad013db6b5d Mon Sep 17 00:00:00 2001 From: John Bledsoe <59550+johnbcodes@users.noreply.github.com> Date: Mon, 27 Nov 2023 20:17:11 -0500 Subject: [PATCH] feat(docs): Improvement for recent changes --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 86a3d6b..0c8ca41 100644 --- a/README.md +++ b/README.md @@ -73,8 +73,8 @@ Additionally, there were some other features and integral parts of Rails that ha * Update `primary_region` property in `fly.toml` * `fly volumes create -s 1 -r ` * Update `mounts.source` property in `fly.toml` with -* `fly secrets set DATABASE_FILE=/data/demo.db` -* `docker build -t registry.fly.io/: .` +* `fly secrets set DATABASE_URL=/data/demo.db` +* `docker build -t registry.fly.io/: --target deploy .` * `fly deploy --image registry.fly.io/:` ## Automated deployment of new versions with GitHub [action](.github/workflows/deploy.yml) @@ -83,7 +83,7 @@ Additionally, there were some other features and integral parts of Rails that ha * Example: `git tag -a v2 -m "My new release!" && git push --tags` ## Manual deployment from local image -* `docker build -t registry.fly.io/: .` +* `docker build -t registry.fly.io/: --target deploy .` * `fly auth docker` * `docker push registry.fly.io/:` * `fly deploy --image registry.fly.io/:`