Skip to content

Commit

Permalink
Specify image name in docker files to avoid a confusing build/run
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlmoon committed Jan 28, 2021
1 parent 69c18f8 commit 194ee5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose-development.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
version: "2"
services:

# I have a feeling we can get rid of this, and just use one docker-compose.yml, and just set a ENV var if
# we want dev mode (just gives a docker shell) or not.

backend:
build: ./backend/dev-docker
image: dgtlmoon/changedetection.io:0.1-dev
container_name: changedetection.io-dev
volumes:
- ./backend:/app
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ services:

backend:
build: ./backend/production-docker
image: dgtlmoon/changedetection.io:0.1
container_name: changedetection.io
volumes:
- ./backend:/app
Expand Down

0 comments on commit 194ee5d

Please sign in to comment.