-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add few echo lines and dockerignore file (#33)
* Add line to echo nginx config * Add .dockerignore file * Add echo at relevant places
- Loading branch information
1 parent
9130678
commit aaa589e
Showing
4 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#!/bin/bash | ||
|
||
docker build -t deploy_fastagency -f docker/Dockerfile --progress plain . | ||
echo -e "\033[0;32mBuilding fastagency docker image\033[0m" | ||
docker build -t deploy_fastagency -f docker/Dockerfile --progress plain . && \ | ||
echo -e "\033[0;32mSuccessfully built fastagency docker image\033[0m" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
#!/bin/bash | ||
|
||
echo -e "\033[0;32mLogging into fly.io\033[0m" | ||
fly auth login | ||
|
||
echo -e "\033[0;32mDeploying to fly.io\033[0m" | ||
fly launch --config fly.toml --copy-config --yes | ||
|
||
echo -e "\033[0;32mSetting secrets\033[0m" | ||
fly secrets set OPENAI_API_KEY=$OPENAI_API_KEY |