Added app directory
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
venv
|
||||
|
||||
.gitignore
|
||||
7
app/.dockerignore
Normal file
7
app/.dockerignore
Normal file
@@ -0,0 +1,7 @@
|
||||
venv
|
||||
|
||||
.git
|
||||
.gitignore
|
||||
.idea
|
||||
|
||||
__pycache__
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user