-
Notifications
You must be signed in to change notification settings - Fork 438
[BUG] docker compose up not working #134
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Running
sudo docker compose up --build -d
failed with error
=> ERROR [dashboard production 4/8] RUN npm install --omit=dev
Steps to Reproduce
Run
git clone https://github.com/CaviraOSS/OpenMemory.git cd OpenMemory/ sudo docker compose up --build -d
Component
Frontend (React/UI)
Environment
Linux (ubuntu 24.04)
Docker version 29.2.0, build 0b9d198
Relevant log output
[+] Building 1.5s (17/33)
=> [internal] load local bake definitions 0.0s
=> => reading from stdin 1.06kB 0.0s
=> [openmemory internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2.19kB 0.0s
=> [dashboard internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 915B 0.0s
=> [openmemory internal] load metadata for docker.io/library/node:20-alpine 0.2s
=> [dashboard internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [openmemory internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [dashboard builder 1/6] FROM docker.io/library/node:20-alpine@sha256:09e2b3d9726018aecf269bd35325f46bf75046a643a66d28360ec71132750ec8 0.0s
=> => resolve docker.io/library/node:20-alpine@sha256:09e2b3d9726018aecf269bd35325f46bf75046a643a66d28360ec71132750ec8 0.0s
=> [dashboard internal] load build context 0.0s
=> => transferring context: 32B 0.0s
=> [openmemory internal] load build context 0.0s
=> => transferring context: 2.93kB 0.0s
=> CACHED [dashboard builder 2/6] WORKDIR /app 0.0s
=> CACHED [openmemory builder 3/10] RUN apk add --no-cache python3 make g++ curl bash 0.0s
=> CANCELED [openmemory builder 4/10] RUN curl -fsSL https://bun.sh/install | bash && mv /root/.bun /opt/bun && ln -s /opt/bun/bin/bun /usr/local/bin/bun 1.2s
=> CACHED [openmemory production 3/8] RUN apk add --no-cache tzdata 0.0s
=> CACHED [openmemory production 4/8] RUN addgroup -g 1001 -S appgroup && adduser -u 1001 -S appuser -G appgroup 0.0s
=> CACHED [dashboard builder 3/6] COPY package*.json ./ 0.0s
=> ERROR [dashboard production 4/8] RUN npm install --omit=dev 0.7s
=> CANCELED [dashboard builder 4/6] RUN npm install 0.8s
------
> [dashboard production 4/8] RUN npm install --omit=dev:
0.689 npm error code ENOENT
0.689 npm error syscall open
0.689 npm error path /app/package.json
0.689 npm error errno -2
0.689 npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/app/package.json'
0.689 npm error enoent This is related to npm not being able to find a file.
0.689 npm error enoent
0.690 npm error A complete log of this run can be found in: /root/.npm/_logs/2026-02-02T15_55_10_885Z-debug-0.log
------
[+] up 0/2
⠙ Image openmemory-openmemory Building 1.5s
⠙ Image openmemory-dashboard Building 1.5s
Dockerfile:23
--------------------
21 | # Install only production dependencies
22 | COPY package*.json ./
23 | >>> RUN npm install --omit=dev
24 |
25 | # Copy built assets from builder
--------------------
target dashboard: failed to solve: process "/bin/sh -c npm install --omit=dev" did not complete successfully: exit code: 254Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working