diff --git a/Dockerfile b/Dockerfile index 6a6f5a3..327484e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,10 @@ FROM cypress/base:10 as builder -# If only we could use globs in COPY or ADD. But alas, we can not. -COPY ./package.json /build/package.json -COPY ./yarn.lock /build/yarn.lock - WORKDIR /build + +COPY ./package.json ./yarn.lock ./.snyk ./ RUN yarn install --frozen-lockfile + COPY ./ ./ WORKDIR /build/autopublish-app RUN yarn run lint && yarn run build