forked from JanLoebel/face_recognition
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔨 JanLoebel#14 new file docker compose
- Loading branch information
Reinaldo Araujo Barreto Junior
committed
Mar 5, 2024
1 parent
82b95fd
commit 9e781e9
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# sudo docker-compose build | ||
# sudo docker-compose up | ||
# sudo docker-compose up --build | ||
|
||
# Subir em background | ||
# sudo docker-compose -f docker-compose.yml up -d | ||
|
||
# How use iterative mode container | ||
# sudo docker-compose exec Dockerfile bash | ||
|
||
|
||
#Purging All Unused or Dangling Images, Containers, Volumes, and Networks | ||
#sudo docker system prune -a | ||
|
||
version: '3.8' | ||
services: | ||
|
||
face_recog_python3.8: | ||
build: | ||
dockerfile: Dockerfile | ||
context: . | ||
image: janloebel_face_recognition:last | ||
container_name: janloebel_face_recognition | ||
restart: always | ||
ports: | ||
- "8080:8080" | ||
volumes: | ||
- ./faces:/root/faces:rw |