Update Dockerfile to add .snyk before running yarn install
This commit is contained in:
+3
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user