whythawk / full-stack-fastapi-postgresql

Full stack, modern web application generator. Using FastAPI, PostgreSQL as database, Nuxt3, Docker, automatic HTTPS and more.
MIT License
231 stars 47 forks source link

Absolute path for mount point #16

Closed FranzForstmayr closed 1 year ago

FranzForstmayr commented 1 year ago

Since 46447f9359a1472e10a715f7cb1ee934ec1464aa I was unable to start docker and got the following errror:

docker compose up

[+] Running 2/0
 ⠿ Container bs-fastapi-nuxt-proxy-1     Created                                                                                                                                                                                                  0.0s
 ⠿ Container bs-fastapi-nuxt-queue-1     Created                                                                                                                                                                                                  0.0s
 ⠋ Container bs-fastapi-nuxt-db-1        Recreate                                                                                                                                                                                                 0.0s
 ⠋ Container bs-fastapi-nuxt-flower-1    Recreate                                                                                                                                                                                                 0.0s
 ⠋ Container bs-fastapi-nuxt-frontend-1  Recreate                                                                                                                                                                                                 0.0s
 ⠋ Container bs-fastapi-nuxt-neo4j-1     Recreate                                                                                                                                                                                                 0.0s
Error response from daemon: invalid mount config for type "volume": invalid mount path: 'app/node_modules' mount path must be absolute

This patch solves this issue, in the linked SO answer the second path is absolute too.