fix: missing aliyun CLI installation process in backend Dockerfile

This commit is contained in:
alikia2x (寒寒) 2025-05-11 02:38:46 +08:00
parent 44f4ee5b01
commit c82a95d0bc
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6

View File

@ -1,4 +1,4 @@
FROM oven/bun
FROM oven/bun:1.2.8-debian
WORKDIR /app
@ -6,6 +6,12 @@ COPY ./packages/core ./core
COPY ./packages/backend/package.json ./packages/backend/bun.lock ./backend/
RUN apt update && apt install -y curl
RUN ln -s /bin/uname /usr/bin/uname
RUN /bin/bash -c "$(curl -fsSL https://aliyuncli.alicdn.com/install.sh)"
WORKDIR backend
RUN bun install