Skip to content

Commit 96c5353

Browse files
committed
Update dependencies, fix fan control breaking when running with empty fan curve
1 parent d8efb6a commit 96c5353

17 files changed

Lines changed: 4277 additions & 18701 deletions

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
FROM node:14 AS builder
1+
FROM node:22 AS builder
22

33
WORKDIR /usr/src/app
44

5-
# Add package.json and run npm install
6-
# Its important to copy in package.json first to avoid caching issues
7-
COPY frontend/package*.json ./
8-
RUN npm ci --only=production
5+
# Add package files and install dependencies
6+
# Its important to copy in package files first to avoid caching issues
7+
COPY frontend/package.json frontend/package-lock.json ./
8+
RUN npm ci
99

1010
# Copy rest of the project and build
1111
COPY frontend/ .
1212
RUN npm run build
1313

14-
FROM node:14-alpine
14+
FROM node:22-alpine
1515

1616
LABEL org.opencontainers.image.source https://github.com/Danielv123/serverManager
1717

@@ -22,8 +22,8 @@ RUN apk add ipmitool
2222

2323
WORKDIR /usr/src/app
2424

25-
COPY backend/package*.json ./
26-
RUN npm ci --only=production
25+
COPY backend/package.json backend/package-lock.json ./
26+
RUN npm ci --omit=dev
2727

2828
# Copy rest of the backend
2929
COPY backend/src ./src

0 commit comments

Comments
 (0)