Skip to content

Commit

Permalink
API-1824 dockerize bynder php sdk to run sample files
Browse files Browse the repository at this point in the history
  • Loading branch information
ahongbynder committed Dec 12, 2023
1 parent d84a0a1 commit b4b1a41
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
1 change: 0 additions & 1 deletion .dockerignore
Expand Up @@ -9,4 +9,3 @@ docker-compose*
.vscode
README.md
LICENSE
**/sample
8 changes: 8 additions & 0 deletions Dockerfile.dev
@@ -0,0 +1,8 @@
FROM composer:latest

WORKDIR /app

COPY composer.json ./
RUN composer install

COPY . .
10 changes: 10 additions & 0 deletions docker-compose.yaml
@@ -0,0 +1,10 @@
version: '3.9'

services:
bynder-php-sdk:
container_name: bynder-php-sdk
build:
dockerfile: Dockerfile.dev
command: sh -c "tail -f /dev/null"
volumes:
- .:/app

0 comments on commit b4b1a41

Please sign in to comment.