mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-21 15:32:32 +00:00
Don't install Cypress in production Docker image building
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
59edfe26cc
commit
3e74982ec4
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ FROM node:16-alpine as assets
|
||||||
RUN apk add --no-cache python3 build-base libwebp-tools bash imagemagick ncurses
|
RUN apk add --no-cache python3 build-base libwebp-tools bash imagemagick ncurses
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
COPY js .
|
COPY js .
|
||||||
|
|
||||||
|
ENV CYPRESS_INSTALL_BINARY 0
|
||||||
|
|
||||||
RUN yarn install \
|
RUN yarn install \
|
||||||
&& yarn run build
|
&& yarn run build
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue