ai try oui install ^^

This commit is contained in:
2025-03-29 17:22:13 +01:00
parent 47efadd6d6
commit cb4adabbc2

View File

@@ -9,12 +9,13 @@ WORKDIR /app
RUN apk add --no-cache iputils-ping traceroute
# Copy package.json and package-lock.json (or yarn.lock)
# Ensure these files include 'oui' as a dependency before building!
COPY package*.json ./
# Install app dependencies using npm ci for faster, reliable builds
# --only=production installs only production dependencies
# --only=production installs only production dependencies (including 'oui')
RUN npm ci --only=production
RUN npm i oui
# REMOVED: RUN npm i oui (should be installed by npm ci now)
# Stage 2: Production Image
FROM node:18-alpine