Specify image name in docker files to avoid a confusing build/run

This commit is contained in:
Leigh Morresi
2021-01-28 11:17:12 +01:00
parent 69c18f817d
commit 194ee5d528
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -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
+1
View File
@@ -3,6 +3,7 @@ services:
backend:
build: ./backend/production-docker
image: dgtlmoon/changedetection.io:0.1
container_name: changedetection.io
volumes:
- ./backend:/app