Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Update Dockerfile and next.config.mjs for improved application startup and configuration

Bill Yang3e6f028ef692
diff --git a/docs/Dockerfile b/docs/Dockerfile
index baffcb8ca..af1580754 100644
--- a/docs/Dockerfile
+++ b/docs/Dockerfile
@@ -48,4 +48,5 @@ EXPOSE 3000
ENV PORT 3000
ENV HOSTNAME "0.0.0.0"
+# Start Next.js
CMD ["node", "server.js"]
\ No newline at end of file
diff --git a/docs/next.config.mjs b/docs/next.config.mjs
index fc2bcbe99..e3a617c40 100644
--- a/docs/next.config.mjs
+++ b/docs/next.config.mjs
@@ -1,13 +1,14 @@
-import nextra from 'nextra'
+import nextra from "nextra";
const withNextra = nextra({
latex: true,
search: {
- codeblocks: false
+ codeblocks: false,
},
- contentDirBasePath: '/docs'
-})
+ contentDirBasePath: "/docs",
+});
export default withNextra({
- reactStrictMode: true
-})
+ reactStrictMode: true,
+ output: "standalone",
+});