mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-08-01 22:32:49 +00:00
Switch to yarn for building frontend.
This commit is contained in:
parent
2b44c122e7
commit
3381cb8695
1 changed files with 3 additions and 2 deletions
|
|
@ -44,8 +44,9 @@ RUN cd /app && \
|
|||
FROM node:20-slim AS frontend-builder
|
||||
WORKDIR /app/frontend
|
||||
COPY --from=builder /app /app
|
||||
RUN npm install --legacy-peer-deps && \
|
||||
npm run build && \
|
||||
RUN corepack enable && corepack prepare yarn@stable --activate && \
|
||||
yarn install && \
|
||||
yarn build && \
|
||||
find . -maxdepth 1 ! -name '.' ! -name 'dist' -exec rm -rf '{}' \;
|
||||
|
||||
FROM python:3.13-slim
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue