mirror of
https://github.com/docker/awesome-compose.git
synced 2025-12-30 02:38:30 +01:00
fastapi: add dev envs support
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
services:
|
||||
api:
|
||||
build: .
|
||||
build:
|
||||
context: .
|
||||
target: builder
|
||||
container_name: fastapi-application
|
||||
environment:
|
||||
PORT: 8000
|
||||
ports:
|
||||
- '8000:8000'
|
||||
restart: "no"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user