We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e44b4e3 commit 21aec6aCopy full SHA for 21aec6a
Dockerfile
@@ -0,0 +1,12 @@
1
+FROM php:5.6.25
2
+
3
+RUN apt-get update && apt-get install -y build-essential zip unzip
4
5
+ENV APP_HOME /braintree_php_example
6
+RUN mkdir $APP_HOME
7
+WORKDIR $APP_HOME
8
9
+ADD composer.* $APP_HOME/
10
+RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && php composer-setup.php && php composer.phar install
11
12
+ADD . $APP_HOME
docker-compose.yml
@@ -0,0 +1,9 @@
+version: '2'
+services:
+ web:
+ build: .
+ command: php -S 0.0.0.0:4567 -t public_html
+ ports:
+ - "4567:4567"
+ volumes:
+ - .:/braintree_php_example
0 commit comments