fastapi: add dev envs support

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
Milas Bowman committed 2022-07-05 11:59:35 -04:00
1 parent 8784f95a69
commit 035e3c5b43
4 files changed
+44 -6

No files matched your search

+3 -2
View File
@@ -1,10 +1,11 @@
services:
api:
build: .
build:
context: .
target: builder
container_name: fastapi-application
environment:
PORT: 8000
ports:
- '8000:8000'
restart: "no"