I am trying to build a docker file and I am getting an error "failed to compute cache key: "/source" not found: not found"
This is my directory structure
myapp
- deployment
-- Dockerfile
- source
-- public
-- view
-- app.js
package.json
package-lock.json
This is my docker file
FROM node:18-alpine
ENV NODE_ENV=production
WORKDIR /usr/src/app
COPY ../package*.json /usr/src/app/
RUN npm install --production --silent
COPY ../source /usr/src/app/dist
ENV PORT 3001
EXPOSE ${PORT}
ENV SERVICE_VERSION 1.0.2
ENV NODE-ENV=production
CMD ["node", "dist/app.js"]