docker: copy src files into image
This commit is contained in:
parent
6f9a06faa1
commit
411e8806bb
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue