Don't install Cypress in production Docker image building
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d7e29a24f7
commit
4fa787ea55
|
@ -4,6 +4,9 @@ FROM node:16-alpine as assets
|
|||
RUN apk add --no-cache python3 build-base libwebp-tools bash imagemagick ncurses
|
||||
WORKDIR /build
|
||||
COPY js .
|
||||
|
||||
ENV CYPRESS_INSTALL_BINARY 0
|
||||
|
||||
RUN yarn install \
|
||||
&& yarn run build
|
||||
|
||||
|
|
Loading…
Reference in New Issue