Skip to content

Commit 2096cf1

Browse files
mount ./app to avoid needing to pass --build
1 parent 05ac620 commit 2096cf1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

compose.dev.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ services:
1414
SEGMENT_WRITE_KEY: ${SEGMENT_WRITE_KEY} # Set your Segment write key here or in the .env file
1515
SESSION_COOKIE_SECURE: 0
1616
OPENAI_API_KEY: ${OPENAI_API_KEY} # Set your OpenAI API key here or in the .env file
17+
volumes:
18+
- type: bind
19+
source: ./app
20+
target: /app
1721
command: flask run --host=0.0.0.0 --port=5050
1822
deploy:
1923
resources:

0 commit comments

Comments
 (0)