Esteves Enzo commited on
Commit
3b6777d
1 Parent(s): 9552027

docker file updated

Browse files
.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:b61cd9c662ea4604ac7974f7ad0210f21b6ceb2e1442458c432a8f0549771412
3
- size 68573
 
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:79adbab21e70193f275d14dba745db5039d09efe4746e358e20a71220b1cc8d4
3
- size 1750
 
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:518d31c7cf21c9294161e0349976002cfb55cc172442a803deb5751b8f418a5b
3
- size 428
 
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:e3d23577ffebf3b2e5dda8400694091a8971d26b0cb26919faea0f439f34fc4a
3
- size 183092
 
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:9ebed8c2ed3fcbc599dfe09a1a0525a40de0565638106d288479ce40497d64ff
3
- size 53903
 
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:b31f9280c64d1dcc3450a1d9da47f4ca1c31d5c2d42ba0321501946796117f14
3
- size 11813
 
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:2263fcf7868a2341d7d2f8dff213ec62b0671d3cd72c3bc060fe3bed51e9ab22
3
- size 121096
 
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.NEXT_APP_HF_TOKEN}`,
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
  })