修改路径,从src放到根目录
This commit is contained in:
14
docker-compose.yml
Normal file
14
docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
face-recognition:
|
||||
build: .
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
- DEBUG=True
|
||||
- DATABASE_URL=postgresql://username:password@host:port/database
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./src/videos:/app/videos
|
||||
- ./src/face_database.pkl:/app/face_database.pkl
|
||||
Reference in New Issue
Block a user