Don't install Cypress in production Docker image building

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Cette révision appartient à :
Thomas Citharel 2021-10-25 16:53:05 +02:00
Parent 59edfe26cc
révision 3e74982ec4
Signature inconnue de Forgejo
ID de la clé GPG: A061B9DDE0CA0773
1 fichiers modifiés avec 3 ajouts et 0 suppressions

Voir le fichier

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