Added build tools (python3, make, g++) needed to compile native modules like Tailwind CSS oxide

This commit is contained in:
2026-09-03 09:00:31 +03:30
parent 559690e1c5
commit dcdb7f3f12

View File

@@ -1,8 +1,8 @@
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
WORKDIR /src WORKDIR /src
# Install Node.js for frontend build # Install Node.js and build tools for native modules
RUN apt-get update && apt-get install -y nodejs npm && rm -rf /var/lib/apt/lists/* RUN apt-get update && apt-get install -y nodejs npm python3 make g++ && rm -rf /var/lib/apt/lists/*
COPY ./src/ . COPY ./src/ .