From 273f3da7db114711449e08e53cd983fd282b5067 Mon Sep 17 00:00:00 2001 From: "Thang X. Vu" Date: Tue, 21 Mar 2023 10:05:49 +0700 Subject: [PATCH] chore: resolve docker build issue with yarn --- .dockerignore | 7 +++++++ Dockerfile | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index 6aa57b34..5a411d7a 100644 --- a/.dockerignore +++ b/.dockerignore @@ -5,3 +5,10 @@ scripts .git .dockerignore Dockerfile +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions diff --git a/Dockerfile b/Dockerfile index e727cda6..1db56004 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,4 @@ FROM node:18 -ENV YARN_VERSION 3.4.1 -RUN yarn policies set-version $YARN_VERSION WORKDIR /app COPY package.json .