Created docker environment for API

This commit is contained in:
Marcin-Ramotowski
2023-12-27 10:50:38 +00:00
parent 6846536df8
commit eb8201d4a1
8 changed files with 36 additions and 19 deletions

13
docker-compose.yml Normal file
View File

@ -0,0 +1,13 @@
version: '3.7'
services:
web:
container_name: todo-api
hostname: todo-api
build: .
env_file:
- src/.env
ports:
- "5000:5000"
volumes:
- ./src/test.db:/app/test.db