docker: copy src files into image
This commit is contained in:
parent
6f9a06faa1
commit
411e8806bb
|
@ -3,6 +3,7 @@ services:
|
||||||
idhub:
|
idhub:
|
||||||
init: true
|
init: true
|
||||||
build:
|
build:
|
||||||
|
context: .
|
||||||
dockerfile: docker/idhub.Dockerfile
|
dockerfile: docker/idhub.Dockerfile
|
||||||
environment:
|
environment:
|
||||||
- DOMAIN=${IDHUB_DOMAIN:-localhost}
|
- DOMAIN=${IDHUB_DOMAIN:-localhost}
|
||||||
|
@ -29,5 +30,6 @@ services:
|
||||||
- SYNC_ORG_DEV=${IDHUB_SYNC_ORG_DEV}
|
- SYNC_ORG_DEV=${IDHUB_SYNC_ORG_DEV}
|
||||||
ports:
|
ports:
|
||||||
- 9001:9001
|
- 9001:9001
|
||||||
|
# this is for dev
|
||||||
volumes:
|
volumes:
|
||||||
- .:/opt/idhub
|
- .:/opt/idhub
|
||||||
|
|
|
@ -31,4 +31,7 @@ COPY ./requirements.txt /opt/idhub
|
||||||
RUN pip install -r requirements.txt
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
COPY docker/idhub.entrypoint.sh /
|
COPY docker/idhub.entrypoint.sh /
|
||||||
|
|
||||||
|
COPY . /opt/idhub/
|
||||||
|
|
||||||
ENTRYPOINT sh /idhub.entrypoint.sh
|
ENTRYPOINT sh /idhub.entrypoint.sh
|
||||||
|
|
Loading…
Reference in a new issue