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/:`