mirror of
https://github.com/lklynet/hypermind.git
synced 2026-05-03 09:30:36 +00:00
trying every version of debian til one works
This commit is contained in:
+9
-3
@@ -1,13 +1,19 @@
|
||||
FROM node:18-alpine
|
||||
FROM node:18-bookworm
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install build dependencies
|
||||
RUN apk add --no-cache python3 make g++ linux-headers git
|
||||
RUN apt-get update && apt-get install -y \
|
||||
python3 \
|
||||
make \
|
||||
g++ \
|
||||
cmake \
|
||||
git \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies with build flags for udx-native
|
||||
# Install dependencies (forcing build from source to ensure glibc compatibility)
|
||||
RUN npm install --production --build-from-source
|
||||
|
||||
COPY server.js ./
|
||||
|
||||
Reference in New Issue
Block a user