Skip to content

Commit 1fcab1f

Browse files
authored
Merge pull request #2093 from shadowhand/patch-1
Add "command" to docker instructions
2 parents 182d17b + 5728a71 commit 1fcab1f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

docs/deploy/docker.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ functions:
145145
web:
146146
image:
147147
name: my-app
148+
command: public/index.php # a PHP file path or class name
148149
environment:
149150
BREF_RUNTIME: fpm
150151
events:
@@ -153,12 +154,14 @@ functions:
153154
console:
154155
image:
155156
name: my-app
157+
command: bin/console # an executable file path
156158
environment:
157159
BREF_RUNTIME: console
158160
159161
worker:
160162
image:
161163
name: my-app
164+
command: Acme\QueueWorker # a PHP file path or class name
162165
environment:
163166
BREF_RUNTIME: function
164167
events:

0 commit comments

Comments
 (0)