Spaces:
Runtime error
Runtime error
Esteves Enzo
commited on
Commit
·
0084451
1
Parent(s):
5227b65
update build
Browse files- Dockerfile +0 -2
- prisma/schema.prisma +1 -3
Dockerfile
CHANGED
@@ -12,8 +12,6 @@ COPY package.json package-lock.json ./
|
|
12 |
# Install dependencies
|
13 |
RUN npm install
|
14 |
|
15 |
-
RUN chown -R node:node /usr
|
16 |
-
|
17 |
VOLUME /data
|
18 |
|
19 |
# Copy the rest of the application files to the container
|
|
|
12 |
# Install dependencies
|
13 |
RUN npm install
|
14 |
|
|
|
|
|
15 |
VOLUME /data
|
16 |
|
17 |
# Copy the rest of the application files to the container
|
prisma/schema.prisma
CHANGED
@@ -4,11 +4,9 @@ generator client {
|
|
4 |
|
5 |
datasource db {
|
6 |
provider = "sqlite"
|
7 |
-
url =
|
8 |
}
|
9 |
|
10 |
-
// file:///data/dev.db
|
11 |
-
|
12 |
model Image {
|
13 |
id Int @id @default(autoincrement())
|
14 |
prompt String
|
|
|
4 |
|
5 |
datasource db {
|
6 |
provider = "sqlite"
|
7 |
+
url = "file:///data/dev.db"
|
8 |
}
|
9 |
|
|
|
|
|
10 |
model Image {
|
11 |
id Int @id @default(autoincrement())
|
12 |
prompt String
|