Skip to content

Commit

Permalink
🔨 JanLoebel#14 new file docker compose
Browse files Browse the repository at this point in the history
  • 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.
28 changes: 28 additions & 0 deletions docker-compose.yml
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

0 comments on commit 9e781e9

Please sign in to comment.