diff --git a/docker-compose.yml b/docker-compose.yml index b7d941e..f0dabfb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,7 @@ services: idhub: init: true build: + context: . dockerfile: docker/idhub.Dockerfile environment: - DOMAIN=${IDHUB_DOMAIN:-localhost} @@ -29,5 +30,6 @@ services: - SYNC_ORG_DEV=${IDHUB_SYNC_ORG_DEV} ports: - 9001:9001 + # this is for dev volumes: - .:/opt/idhub diff --git a/docker/idhub.Dockerfile b/docker/idhub.Dockerfile index f1cb831..5ad7b3e 100644 --- a/docker/idhub.Dockerfile +++ b/docker/idhub.Dockerfile @@ -31,4 +31,7 @@ COPY ./requirements.txt /opt/idhub RUN pip install -r requirements.txt COPY docker/idhub.entrypoint.sh / + +COPY . /opt/idhub/ + ENTRYPOINT sh /idhub.entrypoint.sh