fix: docker & prisma
This commit is contained in:
parent
43da0bdff2
commit
8b17bd6d44
@ -20,4 +20,4 @@ RUN npm run build
|
||||
EXPOSE 3000
|
||||
|
||||
# Start the application
|
||||
CMD ["npm", "run", "start:prod"]
|
||||
CMD ["npm", "run", "start:dev"]
|
||||
|
@ -17,6 +17,8 @@ services:
|
||||
app:
|
||||
build: .
|
||||
container_name: app
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
DATABASE_URL: "postgresql://user:password@postgres:5432/mydatabase"
|
||||
depends_on:
|
||||
|
@ -14,4 +14,5 @@ model Post {
|
||||
media String? // URL или путь к файлу
|
||||
mediaType String? // "image", "video", "drawing", "code"
|
||||
code String? // Код, который нужно запустить
|
||||
//TODO Добавить vector для оценки близости постов
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user