Browse Source
Don't install Cypress in production Docker image building
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
tags/2.0.0-beta.1
Thomas Citharel
1 year ago
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with
3 additions and
0 deletions
-
docker/production/Dockerfile
|
|
@@ -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 |
|
|
|
|
|
|
|