Don't install Cypress in production Docker image building

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Este commit está contenido en:
Thomas Citharel 2021-10-25 16:53:05 +02:00
padre 59edfe26cc
commit 3e74982ec4
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: A061B9DDE0CA0773
Se han modificado 1 ficheros con 3 adiciones y 0 borrados

Ver fichero

@ -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