Skip to content

Commit

Permalink
Update docker-compose.yml moving args under build
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednasserswe committed Oct 12, 2023
1 parent 277ade3 commit 1a8cc50
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ version: '3.9'
services:
app:
platform: linux/amd64
build: .
build:
args:
- PRESTO_PORT=${PRESTO_PORT}
env_file:
- ./.env_file
depends_on:
Expand All @@ -14,8 +16,7 @@ services:
- ./:/app
ports:
- "${PRESTO_PORT}:${PRESTO_PORT}"
args:
- PRESTO_PORT=${PRESTO_PORT}

elasticmq:
image: softwaremill/elasticmq
hostname: presto-elasticmq
Expand Down

0 comments on commit 1a8cc50

Please sign in to comment.