I don’t get it, I even ran
ls dist during my GitHub Action CI Build which shows it’s there but my Dockerfile copy command fails:
FROM node:14.8.0-alpine ENV PORT 8080 WORKDIR dist RUN yarn COPY dist /dist CMD [ "yarn", "start" ]
COPY ./dist /dist
I assume I’m in the right context with my copy command specifying
dist in the current directory local to the build VM when I’m in a CI workflow?
note that dist is coming from an artifact that I download right before it tries to build the image:
- uses: actions/download-artifact@v2 with: name: dist-artifact path: dist