Skip to content

Commit

Permalink
chore: resolve docker build issue with yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
sinzii committed Mar 21, 2023
1 parent aba201c commit 273f3da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,10 @@ scripts
.git
.dockerignore
Dockerfile
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 .
Expand Down

0 comments on commit 273f3da

Please sign in to comment.