diff --git a/apps/backend/Dockerfile b/apps/backend/Dockerfile index 692fad1..6d15cfd 100644 --- a/apps/backend/Dockerfile +++ b/apps/backend/Dockerfile @@ -1,12 +1,13 @@ -FROM oven/bun:alpine AS base +FROM node:18-alpine AS base FROM base AS builder RUN apk add --no-cache libc6-compat g++ make py3-pip ffmpeg RUN apk update RUN pip3 install streamlink WORKDIR /app +RUN yarn global add bun turbo COPY . . -RUN bunx turbo prune --scope @haishin/backend --docker +RUN turbo prune --scope @haishin/backend --docker # Add lockfile and package.json's of isolated subworkspace FROM base AS installer diff --git a/apps/frontend/Dockerfile b/apps/frontend/Dockerfile index b1101de..c4c3ca7 100644 --- a/apps/frontend/Dockerfile +++ b/apps/frontend/Dockerfile @@ -1,11 +1,12 @@ -FROM oven/bun:alpine AS base +FROM node:18-alpine AS base FROM base AS builder RUN apk add --no-cache libc6-compat RUN apk update WORKDIR /app +RUN yarn global add bun turbo COPY . . -RUN bunx turbo prune --scope @haishin/frontend --docker +RUN turbo prune --scope @haishin/frontend --docker # Add lockfile and package.json's of isolated subworkspace FROM base AS installer @@ -45,7 +46,7 @@ ENV TURBO_TEAM=$TURBO_TEAM ARG TURBO_TOKEN ENV TURBO_TOKEN=$TURBO_TOKEN -RUN pnpm turbo run build --filter=frontend... +RUN bunx turbo run build --filter=frontend... FROM base AS runner WORKDIR /app diff --git a/bun.lockb b/bun.lockb index 791a602..88e0162 100644 Binary files a/bun.lockb and b/bun.lockb differ