From cb4adabbc2740b8a7b3faef102e8655c3e8f0a63 Mon Sep 17 00:00:00 2001 From: MrUnknownDE Date: Sat, 29 Mar 2025 17:22:13 +0100 Subject: [PATCH] ai try oui install ^^ --- backend/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/Dockerfile b/backend/Dockerfile index 9513f78..da5c0f8 100644 --- a/backend/Dockerfile +++ b/backend/Dockerfile @@ -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