Skip to content

Commit

Permalink
Merge pull request #257 from datamade/container-registry-image
Browse files Browse the repository at this point in the history
instructions for using container registry image in local development
  • Loading branch information
fgregg authored Mar 31, 2022
2 parents 4c78b8d + c6ce87c commit 6ee0e17
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ version: '2.4'

services:
app:
# As soon as possible, get an image of your app on the github container registry
# and use that image for local development. This will avoid drift between containers
# on different machines.
#
# When that is ready, uncomment the next line, and delete the following two lines
# and commit those changes to the repository.
# image: ghcr.io/${{ github.repository }}:latest
image: {{cookiecutter.app_name}}
build: .
container_name: {{cookiecutter.app_name}}
build: .
# Allow container to be attached to, e.g., to access the pdb shell
stdin_open: true
tty: true
Expand Down

0 comments on commit 6ee0e17

Please sign in to comment.