backend-replacement icon indicating copy to clipboard operation
backend-replacement copied to clipboard

Add entrypoint for Dockerfile

Open mrmm opened this issue 7 years ago • 1 comments

Add entrypoint.sh file to be used as entrypoint inside the containers of different services.

mrmm avatar Mar 05 '18 13:03 mrmm

root@ubuntu-s-1vcpu-1gb-nyc3-01:/home/backend# docker-compose run contract_observer migrate head
WARNING: Found orphan containers (backend_order_refresh_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
Starting backend_postgres_1 ...
Starting backend_redis_1 ... done
: not foundt.sh: line 2:
: not foundt.sh: line 8:
./entrypoint.sh: line 13: syntax error: unexpected "elif" (expecting "then")

solved with: https://github.com/Vitors-DEX-Exchange/DEX-Backend/commit/e6766e1c14b45cd081c8b932361bd30068fd4a41

vitorgamer58 avatar Sep 29 '19 03:09 vitorgamer58