I am learning how to automate my project delivery.
I am able to create cluster and but I am stuck on the step where I have to upload files to the EC2 instance.

Right now I am running these commands

```
ecs-cli up --keypair my_keypair --capability-iam --size 1 --instance-type t2.micro --force

```

This creates the cluster.
Then I create docker container for php and nginx.

```
ecs-cli compose up

```

This creates containers but without any files. 

NOW if I **manually login into to EC2** instance using SSH and create **phpinfo.php** file then I can view it in browser telling me that everything is setup correct. But it is the manual step. How can i push my project files automatically ?

May be I don't understand how this works and am going in wrong direction.
All the tutorials that i saw used readymade wordpress image. I am not deploying wordpress image. I want to deploy phpinfo.php (for example).

Thanks

```
version: '2'

services:
  nginx:
      image: tutum/nginx
      cpu_shares: 50
      mem_limit: 134217728
      ports:
          - "80:80"
      links:
          - phpfpm
      volumes:
          - /home/ec2-user/nginx/conf:/etc/nginx/sites-available/
          - /home/ec2-user/nginx/conf:/etc/nginx/sites-enabled/
          - /home/ec2-user/public:/var/www/html
  phpfpm:
      image: php-nginx-fpm:7.0.19-37
      cpu_shares: 50
      mem_limit: 134217728
      ports:
          - "9000:9000"
          - "3306:3306"
      volumes:
          - /home/ec2-user/public:/var/www/html

```