Added app directory

This commit is contained in:
AtamanKit
2021-07-21 12:12:58 +03:00
parent b243b421dd
commit b8d5811936
12 changed files with 9 additions and 9 deletions

View File

@@ -1,7 +0,0 @@
__pycache__/
*.py[cod]
*$py.class
venv
.gitignore

7
app/.dockerignore Normal file
View File

@@ -0,0 +1,7 @@
venv
.git
.gitignore
.idea
__pycache__

View File

@@ -2,13 +2,13 @@ version: "3.8"
services:
api:
build: .
build: ./app
ports:
- 80:80
environment:
- DB_URL=mongodb://db/myTestDB
volumes:
- .:/app
- ./app:/app
db:
image: mongo
ports: