Spaces:
Build error
Build error
Zerotracex-Stuff commited on
Commit ·
df52141
1
Parent(s): 532a1e1
First model version
Browse files- Dockerfile +1 -1
- next.config.ts +1 -0
- package.json +1 -2
Dockerfile
CHANGED
|
@@ -14,7 +14,7 @@ RUN npm install
|
|
| 14 |
RUN npm install -g serve
|
| 15 |
|
| 16 |
# Build and export the Next.js static site
|
| 17 |
-
RUN npm run build
|
| 18 |
|
| 19 |
# Expose the port your app runs on. Use 7860 as per the user's requirement.
|
| 20 |
EXPOSE 7860
|
|
|
|
| 14 |
RUN npm install -g serve
|
| 15 |
|
| 16 |
# Build and export the Next.js static site
|
| 17 |
+
RUN npm run build
|
| 18 |
|
| 19 |
# Expose the port your app runs on. Use 7860 as per the user's requirement.
|
| 20 |
EXPOSE 7860
|
next.config.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import type {NextConfig} from 'next';
|
| 2 |
|
| 3 |
const nextConfig: NextConfig = {
|
|
|
|
| 4 |
/* config options here */
|
| 5 |
typescript: {
|
| 6 |
ignoreBuildErrors: true,
|
|
|
|
| 1 |
import type {NextConfig} from 'next';
|
| 2 |
|
| 3 |
const nextConfig: NextConfig = {
|
| 4 |
+
output: 'export',
|
| 5 |
/* config options here */
|
| 6 |
typescript: {
|
| 7 |
ignoreBuildErrors: true,
|
package.json
CHANGED
|
@@ -10,8 +10,7 @@
|
|
| 10 |
"start": "next start",
|
| 11 |
"lint": "next lint",
|
| 12 |
"typecheck": "tsc --noEmit",
|
| 13 |
-
"postinstall": "cp node_modules/pdfjs-dist/build/pdf.worker.min.js public/"
|
| 14 |
-
"export": "next export"
|
| 15 |
},
|
| 16 |
"dependencies": {
|
| 17 |
"@genkit-ai/googleai": "^1.14.1",
|
|
|
|
| 10 |
"start": "next start",
|
| 11 |
"lint": "next lint",
|
| 12 |
"typecheck": "tsc --noEmit",
|
| 13 |
+
"postinstall": "cp node_modules/pdfjs-dist/build/pdf.worker.min.js public/"
|
|
|
|
| 14 |
},
|
| 15 |
"dependencies": {
|
| 16 |
"@genkit-ai/googleai": "^1.14.1",
|