All Questions
3 questions
2
votes
1
answer
16k
views
failed to solve: failed to compute cache key: failed to calculate checksum of ref . . . "/app/build": not found
I was trying to dockerize a project by running docker compose up but this error is shown.
Here is the Dockerfile
FROM node:gallium-alpine3.18 as build
WORKDIR /app
COPY package.json .
COPY package-...
0
votes
1
answer
1k
views
Docker-compose pass environment variable to docker container and into npm start
Having spent far too long on this, and read copious reference material on docker and many many stack overflow articles I have to admit defeat and ask the panel for help
What I want to achieve is to ...
0
votes
2
answers
1k
views
WSL Node path not found? Volume seems to be mounted
I'm trying to set up a unit test run time through docker compose. When I try to run an npm script through docker-compose Node is acting like it can't find the modules on the path:
➜ docker-compose ...