Skip to content

Commit e8747e5

Browse files
committed
refactor docker-compose.yml to include iop service
1 parent b877c49 commit e8747e5

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ services:
1616
volumes:
1717
- ./:/irisdev/app
1818
- ./src/grongier:/usr/irissys/mgr/python/grongier
19+
- ./src/iop:/usr/irissys/mgr/python/iop
1920
entrypoint: ["sh", "/irisdev/app/entrypoint.sh"]

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
/usr/irissys/dev/Cloud/ICM/waitISC.sh
77

8-
alias iop='irispython -m grongier.pex._cli'
8+
alias iop='irispython -m iop._cli'
99

1010
# init iop
1111
iop --init

src/grongier/pex/_cli.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
from iop._cli import main
1+
from iop._cli import main
2+
3+
if __name__ == '__main__':
4+
main()

0 commit comments

Comments
 (0)