@cybermem/dashboard 0.9.2 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/Dockerfile +3 -1
  2. package/package.json +1 -1
package/Dockerfile CHANGED
@@ -40,7 +40,9 @@ COPY --from=builder /app/.next/standalone ./
40
40
  COPY --from=builder /app/.next/static ./.next/static
41
41
 
42
42
  # Fix sqlite3 bindings by installing it explicitly in the production image
43
- RUN npm install sqlite3@5.1.7
43
+ # We install it in the root to ensure it's available and then let Next.js find it
44
+ RUN npm init -y && npm install sqlite3@5.1.7 --no-save && \
45
+ apk del python3 make g++
44
46
 
45
47
  # Expose port
46
48
  EXPOSE 3000
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cybermem/dashboard",
3
- "version": "0.9.2",
3
+ "version": "0.9.6",
4
4
  "description": "CyberMem Monitoring Dashboard",
5
5
  "homepage": "https://cybermem.dev",
6
6
  "repository": {