From e781ebe7545d8b9c60d238ed88a1aa02a28dcecb Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kaiser Date: Fri, 5 Apr 2024 14:54:08 +0200 Subject: [PATCH] try to fix yarn settings --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 6830dd02..a7e024ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,15 +28,13 @@ CMD ["sh", "-c", "yarn install; yarn storybook"] FROM base as ci -# EXPOSE 3001 -# ENV PORT 3001 +COPY --link package.json yarn.lock .yarnrc.yml ./ +RUN set -eux; \ + yarn # copy sources COPY --link . ./ -RUN set -eux; \ - yarn - RUN set -eux; \ yarn playwright install --with-deps