We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
root@vm:~/lab/docker-medusa# docker compose up --build [+] Building 1.1s (12/18) => [admin:test internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 342B 0.0s => [backend:test internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 312B 0.0s => [storefront:test internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 320B 0.0s => [admin:test internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [backend:test internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [storefront:test internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => CANCELED [storefront:test internal] load metadata for docker.io/libra 1.0s => [backend:test internal] load metadata for docker.io/library/node:17.1 0.9s => CANCELED [backend:test 1/9] FROM docker.io/library/node:17.1.0@sha256 0.0s => => resolve docker.io/library/node:17.1.0@sha256:22f1866405ad50bb1d141 0.0s => => sha256:22f1866405ad50bb1d141739596ba803aed073d618a 1.21kB / 1.21kB 0.0s => => sha256:0a10691898e296e9f2c2b1d914dc281c4f2c02ae201 2.21kB / 2.21kB 0.0s => => sha256:6dc0a5fbad512a2989e5b41453b01aaa9dcfb6ffdd8 7.60kB / 7.60kB 0.0s => [backend:test internal] load build context 0.0s => => transferring context: 1.05kB 0.0s => CACHED [backend:test 2/9] WORKDIR /app/medusa 0.0s => ERROR [backend:test 3/9] COPY package.json . 0.0s ------ > [backend:test 3/9] COPY package.json .: ------ failed to solve: failed to compute cache key: "/package.json" not found: not found root@vm:~/lab/docker-medusa# docker compose up --build [+] Building 0.7s (12/18) => [storefront:test internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [admin:test internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [backend:test internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [storefront:test internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [admin:test internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [backend:test internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => CANCELED [storefront:test internal] load metadata for docker.io/libra 0.5s => [backend:test internal] load metadata for docker.io/library/node:17.1 0.5s => CANCELED [backend:test 1/9] FROM docker.io/library/node:17.1.0@sha256 0.0s => => resolve docker.io/library/node:17.1.0@sha256:22f1866405ad50bb1d141 0.0s => => sha256:22f1866405ad50bb1d141739596ba803aed073d618a 1.21kB / 1.21kB 0.0s => [backend:test internal] load build context 0.0s => => transferring context: 96B 0.0s => CACHED [backend:test 2/9] WORKDIR /app/medusa 0.0s => ERROR [backend:test 3/9] COPY package.json . 0.0s ------ > [backend:test 3/9] COPY package.json .: ------ failed to solve: failed to compute cache key: "/package.json" not found: not found root@vm:~/lab/docker-medusa# ls admin docker-compose.override.yml docker-compose.yml storefront backend docker-compose.prod.yml README.md root@vm:~/lab/docker-medusa# docker compose up [+] Running 0/3 ⠿ storefront Error 7.7s ⠿ admin Error 8.6s ⠿ backend Error 7.7s [+] Building 1.1s (11/18) => [storefront:test internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [backend:test internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [admin:test internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 32B 0.0s => [storefront:test internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [backend:test internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [admin:test internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => CANCELED [admin:test internal] load metadata for docker.io/library/no 1.0s => [backend:test internal] load metadata for docker.io/library/node:17.1 0.9s => CANCELED [backend:test 1/9] FROM docker.io/library/node:17.1.0@sha256 0.0s => => resolve docker.io/library/node:17.1.0@sha256:22f1866405ad50bb1d141 0.0s => => sha256:22f1866405ad50bb1d141739596ba803aed073d618a 1.21kB / 1.21kB 0.0s => [backend:test internal] load build context 0.0s => => transferring context: 96B 0.0s => CACHED [backend:test 2/9] WORKDIR /app/medusa 0.0s => ERROR [backend:test 3/9] COPY package.json . 0.0s ------ > [backend:test 3/9] COPY package.json .: ------ failed to solve: failed to compute cache key: "/package.json" not found: not found root@vm:~/lab/docker-medusa#
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
Go into /backend and install the gatsby storefront backend:
https://docs.medusajs.com/starters/gatsby-medusa-starter
then modify the Dockerfile COPY directive to point to the gatsby-medusa-starter/package.json file.
No branches or pull requests
The text was updated successfully, but these errors were encountered: