Spaces:
Runtime error
Runtime error
Esteves Enzo
commited on
Commit
•
3b6777d
1
Parent(s):
9552027
docker file updated
Browse files- .env +0 -7
- .next/cache/webpack/client-development/0.pack.gz +2 -2
- .next/cache/webpack/client-development/1.pack.gz +2 -2
- .next/cache/webpack/client-development/2.pack.gz +2 -2
- .next/cache/webpack/client-development/index.pack.gz +2 -2
- .next/cache/webpack/client-development/index.pack.gz.old +0 -0
- .next/cache/webpack/server-development/0.pack.gz +2 -2
- .next/cache/webpack/server-development/1.pack.gz +2 -2
- .next/cache/webpack/server-development/index.pack.gz +2 -2
- .next/cache/webpack/server-development/index.pack.gz.old +0 -0
- .next/trace +0 -0
- Dockerfile +2 -0
- app/api/route.ts +1 -1
.env
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
# Environment variables declared in this file are automatically made available to Prisma.
|
2 |
-
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema
|
3 |
-
|
4 |
-
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
|
5 |
-
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
|
6 |
-
|
7 |
-
DATABASE_URL="file:./dev.db"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.next/cache/webpack/client-development/0.pack.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f19af5233a83970caf41f7667e83119d6957731a1afe59d23d4c0e2a768b3d86
|
3 |
+
size 34992
|
.next/cache/webpack/client-development/1.pack.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f086ae23692f98eeb5a98493d0d106839286545d0f918ddf249bec53cbfd0c3b
|
3 |
+
size 14951452
|
.next/cache/webpack/client-development/2.pack.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b195a27515d6a3c3f55519e2aafbbacd3369c0266aedf417ea17b0fcb2b20fe
|
3 |
+
size 49080
|
.next/cache/webpack/client-development/index.pack.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:540308a4f7cc9795c4daff772660519e7a85eea2bc7b6fd412206148729a7e74
|
3 |
+
size 179462
|
.next/cache/webpack/client-development/index.pack.gz.old
CHANGED
Binary files a/.next/cache/webpack/client-development/index.pack.gz.old and b/.next/cache/webpack/client-development/index.pack.gz.old differ
|
|
.next/cache/webpack/server-development/0.pack.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:d324ea7fc71d1b2069a372f439c8bbae7dd3ff91c21e7a64fe2dff10f9980fac
|
3 |
+
size 5524079
|
.next/cache/webpack/server-development/1.pack.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1baeaf017b13c79974d4aabb16c5ea3ae1034e0c0e9ba6d960fda9ac0493cabc
|
3 |
+
size 2905173
|
.next/cache/webpack/server-development/index.pack.gz
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c35b2459447ec32cc40c5a08db0ccf0ef7e4d4334f882836ccc5632121d7ab94
|
3 |
+
size 112409
|
.next/cache/webpack/server-development/index.pack.gz.old
CHANGED
Binary files a/.next/cache/webpack/server-development/index.pack.gz.old and b/.next/cache/webpack/server-development/index.pack.gz.old differ
|
|
.next/trace
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
Dockerfile
CHANGED
@@ -15,6 +15,8 @@ RUN npm install
|
|
15 |
# Copy the rest of the application files to the container
|
16 |
COPY . .
|
17 |
|
|
|
|
|
18 |
# Build the Next.js application for production
|
19 |
RUN npm run build
|
20 |
|
|
|
15 |
# Copy the rest of the application files to the container
|
16 |
COPY . .
|
17 |
|
18 |
+
VOLUME /data
|
19 |
+
|
20 |
# Build the Next.js application for production
|
21 |
RUN npm run build
|
22 |
|
app/api/route.ts
CHANGED
@@ -15,7 +15,7 @@ export async function POST(
|
|
15 |
stream: true,
|
16 |
}),
|
17 |
headers: {
|
18 |
-
Authorization: `Bearer ${process.env.
|
19 |
'Content-Type': 'application/json',
|
20 |
},
|
21 |
})
|
|
|
15 |
stream: true,
|
16 |
}),
|
17 |
headers: {
|
18 |
+
Authorization: `Bearer ${process.env.NEXT_PUBLIC_APP_HF_TOKEN}`,
|
19 |
'Content-Type': 'application/json',
|
20 |
},
|
21 |
})
|