Skip to content

Commit 7aba929

Browse files
authored
Merge pull request #160 from haosenwang1018/fix/dashboard-docker-package-manifest
fix: copy dashboard package manifests from builder
2 parents a65c920 + 60c87e3 commit 7aba929

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

dashboard/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
3030
ENV NEXT_PUBLIC_API_KEY=${NEXT_PUBLIC_API_KEY}
3131

3232
# Install only production dependencies
33-
COPY package*.json ./
33+
COPY --from=builder /app/package.json ./package.json
34+
COPY --from=builder /app/package-lock.json ./package-lock.json
3435
RUN npm install --omit=dev
3536

3637
# Copy built assets from builder

render.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
name: openmemory
44
env: node
55
rootDir: packages/openmemory-js
6-
buildCommand: npm install && npm run build
6+
buildCommand: npm install --include=dev && npm run build
77
startCommand: npm start
88
plan: free
99
autoDeploy: true

0 commit comments

Comments
 (0)