Skip to content

Commit

Permalink
fix: docker build with latest yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
muety committed Dec 14, 2024
1 parent e2c3262 commit 055d035
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,14 @@ COPY . /app/

VOLUME ["/app/data"]

RUN cd /app && yarn
RUN cd /app && \
corepack enable && \
yarn set version stable && \
yarn

RUN cd /app/webapp && \
corepack enable && \
yarn set version stable && \
yarn && \
yarn build:base && \
cd ..
Expand Down

0 comments on commit 055d035

Please sign in to comment.