networknt/light-oauth2

docker-compose-postgres.yml failed , Cannot locate specified Dockerfile

changchichung opened this issue · 1 comments

just clone from github , and touch nothing , just docker-compose up .

chchang@hqdc039:~/git$ git clone https://github.com/networknt/light-oauth2.git
正複製到 'light-oauth2'...
remote: Enumerating objects: 15340, done.
remote: Counting objects: 100% (1090/1090), done.
remote: Compressing objects: 100% (503/503), done.
remote: Total 15340 (delta 827), reused 781 (delta 549), pack-reused 14250
接收物件中: 100% (15340/15340), 3.78 MiB | 6.91 MiB/s, 完成.
處理 delta 中: 100% (9144/9144), 完成.
chchang@hqdc039:~/git$ cd light-oauth2/
chchang@hqdc039:~/git/light-oauth2$ docker-compose -f docker-compose-postgres.yml up -d
Creating network "light-oauth2_default" with the default driver

Pulling postgresdb (postgres:9.6.0)...
9.6.0: Pulling from library/postgres
43c265008fae: Pull complete
215df7ad1b9b: Pull complete
833a4a9c3573: Pull complete
e5716357a052: Pull complete
6552dfce18a3: Pull complete
b75b371d1e9f: Pull complete
08d98aaec35e: Pull complete
ca4fc6359e84: Pull complete
9e7b79b890f7: Pull complete
f303060a572d: Pull complete
d2f58482141a: Pull complete
Digest: sha256:e22a0fd554c62f7a5fb589bce5812ce380edc5ea99f6065f0cd9684ecec4fb12
Status: Downloaded newer image for postgres:9.6.0
Building oauth2-code
ERROR: Cannot locate specified Dockerfile: Dockerfile
chchang@hqdc039:~/git/light-oauth2$ 

The docker-compose in the project folder is for developers of the project. If you want to start the light-oauth2, you can start it from the light-docker.

https://github.com/networknt/light-docker/blob/master/docker-compose-oauth2-postgres.yml