Skip to content

Commit

Permalink
🔧 Update docker dev tools
Browse files Browse the repository at this point in the history
  • Loading branch information
matyo91 committed Sep 7, 2023
1 parent 44d18cd commit 7c96bc9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ A working script is available in the bundled `examples` directory
- Start Server : `php examples/server.php`
Start Client(s) : `php examples/client.php`

Messaging part require to install [Docker](https://www.docker.com) and execute `docker-compose up -d`

## Documentation

[https://darkwood-fr.github.io/flow](https://darkwood-fr.github.io/flow)
Expand Down
9 changes: 9 additions & 0 deletions tools/dev/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# syntax=docker/dockerfile:1.6.0

FROM php:8.2-cli-alpine as builder

COPY --from=composer:2.6.2 /usr/bin/composer /usr/bin/composer

RUN composer install --no-dev --no-interaction --no-progress

WORKDIR /flow
1 change: 1 addition & 0 deletions tools/dev/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
version: '3'
services:
php:
mysql:
image: mysql:8.1
environment:
Expand Down

0 comments on commit 7c96bc9

Please sign in to comment.