Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

ci: adding build platform on dockerfile

Andrej2236da8f5cf8
diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile
index df5233a64..9b131fb55 100644
--- a/apps/api/Dockerfile
+++ b/apps/api/Dockerfile
@@ -1,6 +1,13 @@
FROM --platform=$BUILDPLATFORM oven/bun:1 AS base
WORKDIR /app
+# Install build dependencies
+RUN apt-get update && apt-get install -y \
+ python3 \
+ make \
+ g++ \
+ && rm -rf /var/lib/apt/lists/*
+
COPY package.json .
COPY bun.lockb .
COPY apps/api/package.json ./apps/api/package.json
diff --git a/apps/web/Dockerfile b/apps/web/Dockerfile
index 24a75ad15..7f5113f13 100644
--- a/apps/web/Dockerfile
+++ b/apps/web/Dockerfile
@@ -1,5 +1,12 @@
FROM --platform=$BUILDPLATFORM oven/bun:1 AS builder
+# Install build dependencies
+RUN apt-get update && apt-get install -y \
+ python3 \
+ make \
+ g++ \
+ && rm -rf /var/lib/apt/lists/*
+
WORKDIR /app
COPY package.json bun.lockb ./