Skip to content

Commit

Permalink
migrated docker subfolder to yarnv4 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed May 31, 2024
1 parent 04f3973 commit 5ed9209
Show file tree
Hide file tree
Showing 5 changed files with 900 additions and 6 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@ COPY . /unleash

RUN corepack enable

RUN yarn config set network-timeout 300000

RUN yarn install ----immutable && yarn prepare:backend && yarn local:package
RUN yarn install --immutable && yarn prepare:backend && yarn local:package

# frontend/build should already exist (it needs to be built in the local filesystem but in case of a fresh build we'll build it here)
RUN yarn build:frontend:if-needed
RUN yarn build:frontend

RUN mkdir -p /unleash/build/frontend && mv /unleash/frontend/build /unleash/build/frontend/build

WORKDIR /unleash/docker

RUN yarn install --immutable --production=true
RUN yarn install

FROM node:$NODE_VERSION

Expand Down
894 changes: 894 additions & 0 deletions docker/.yarn/releases/yarn-4.2.2.cjs

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docker/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yarnPath: .yarn/releases/yarn-4.2.2.cjs
3 changes: 2 additions & 1 deletion docker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"dependencies": {
"unleash-server": "file:../build"
},
"version": "5.12.4"
"version": "5.12.4",
"packageManager": "[email protected]"
}
Binary file modified frontend/.yarn/install-state.gz
Binary file not shown.

0 comments on commit 5ed9209

Please sign in to comment.