Bug report
Describe the bug
During make dev step of Quickstart, the RUN make deps step in Dockerfile.dev fails with the following error
2.763 go: github.com/joho/godotenv@v1.5.1 (replaced by ./internal/forks/godotenv): reading internal/forks/godotenv/go.mod: open /go/src/github.com/supabase/auth/internal/forks/godotenv/go.mod: no such file or directory
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- Clone the repo
- Follow the steps in https://github.com/supabase/auth#if-you-have-docker-installed
- During
make dev step error can be seen
Expected behavior
postgres-1 and auth-1 containers should be up and running after make dev
Screenshots
System information
- OS: [macOS 15.7.7 (24G720)]
Additional context
Adding a COPY internal/forks/godotenv ./internal/forks/godotenv before RUN make deps fixes the issue
The volume mount in docker-compose-dev.yml ./:/go/src/github.com/supabase/auth happens after image is built. During image building this volume is not available and hence must be copied explicitly in Dockerfile.dev
Bug report
Describe the bug
During
make devstep of Quickstart, theRUN make depsstep in Dockerfile.dev fails with the following errorTo Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
make devstep error can be seenExpected behavior
postgres-1 and auth-1 containers should be up and running after
make devScreenshots
System information
Additional context
Adding a
COPY internal/forks/godotenv ./internal/forks/godotenvbeforeRUN make depsfixes the issueThe volume mount in docker-compose-dev.yml
./:/go/src/github.com/supabase/authhappens after image is built. During image building this volume is not available and hence must be copied explicitly in Dockerfile.dev