[BUG] - Build Failed
atkinsvh opened this issue · 1 comments
atkinsvh commented
When I try to open up the lesson for host:3000 it gives an error while trying to run docker-compose up
The bug is because the server will not build. (I think)
docker-compose up
Building server
[+] Building 0.5s (5/9)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 37B 0.0s
=> ERROR [internal] load .dockerignore 0.0s
=> [internal] load metadata for docker.io/library/node:16 0.4s
=> [1/5] FROM docker.io/library/node:16@sha256:bf1609ac718dda03940e2be4d 0.0s
=> => resolve docker.io/library/node:16@sha256:bf1609ac718dda03940e2be4d 0.0s
=> ERROR [internal] load build context 0.0s
[internal] load .dockerignore:
[internal] load build context:
stat /var/lib/docker/overlay2/pl43tfbb5pba325cdu9kb8r2a: no such file or directory
ERROR: Service 'server' failed to build : Build failed
The expected behavior was to open the localhost:3000 tab in browser.
Desktop (please complete the following information):
- OS: Mac 11.6.7
- Lesson #: Lesson 1
atkinsvh commented
You have to put your github folder into a virtual environment and configure the environment for docker-compose up