Don't install Cypress in production Docker image building

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-10-25 16:53:05 +02:00
父節點 59edfe26cc
當前提交 3e74982ec4
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: A061B9DDE0CA0773
共有 1 個文件被更改,包括 3 次插入0 次删除

查看文件

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