@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.
- package/Dockerfile +3 -1
- 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
|
-
|
|
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
|