Skip to content

Commit

Permalink
Merge branch 'ken_docker' into video-backend
Browse files Browse the repository at this point in the history
  • Loading branch information
kchiem12 committed Dec 2, 2023
2 parents 5ee9e82 + 0184563 commit 329b688
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
venv
.env
__pycache__
yolov8m-pose.pt
*.mp4
tmp/
.DS_Store
.vscode/
.DS_Store
testing.jpg
src/view/
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM python:3.9

RUN mkdir /app
WORKDIR /app

COPY . .

RUN pip install -r requirements.txt

CMD uvicorn src.api.backend:app --reload --host 0.0.0.0 --port 8000
8 changes: 8 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: '3'

services:
hooptracker-backend:
image: kchiem12/hooptracker-backend:v1.0
ports:
- "8000:8000"
env_file: .env

0 comments on commit 329b688

Please sign in to comment.