-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide default value for y axis limit
A previous change incorrectly made ceiling a required variable, breaking my Docker deployment, which relied on the default auto-ranging behavior. This commit makes this argument optional, as intended. Bonus changes: * Pipe stdout and stderr of `crossword` to make it a little easier to debug issues from logs. * Add a reference to remind myself how to actually use Docker.
- Loading branch information
Showing
3 changed files
with
29 additions
and
3 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Docker + Cloud Run | ||
|
||
Documenting my janky workflow. | ||
|
||
Image name: `us.gcr.io/<project id>/<image name>` | ||
|
||
```sh | ||
# Refresh credentials | ||
gcloud auth login | ||
|
||
# Building an image | ||
docker build -t `<image name>` . | ||
|
||
# Open a shell in container so you can run commands and test | ||
docker run -it --rm us.gcr.io/xword-stats/xword:latest bash | ||
|
||
# Push image to registry | ||
docker push us.gcr.io/xword-stats/xword:latest | ||
|
||
# Use Cloud console to point Cloud Run to latest image | ||
``` |
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