Skip to content

Instantly share code, notes, and snippets.

@alnutile
Created November 19, 2014 20:47
Show Gist options
  • Save alnutile/fcb7c02d62ec3c4605f9 to your computer and use it in GitHub Desktop.
Save alnutile/fcb7c02d62ec3c4605f9 to your computer and use it in GitHub Desktop.
FROM larazest/base:1.0.0
MAINTAINER Alfred Nutile <[email protected]>
# Initial Install and Provision
# Mount the project to the /share
# CHMOD app/storage or storage
# As the directions on http://laravel.com/docs/4.2/installation chmod your storage as needed
# mysql
# The local developer needs to connect to a remote storage since AWS will be remote as well.
# php artisan migrate:install
# RUN php artisan migrate:install
# php artisan migrate:refresh --seed
# RUN php artisan migrate:refresh --seed
# npm install
# bower install
# queue daemon?
RUN apt-get -qq update
RUN apt-get install -y -qq php5-curl
RUN apt-get install -y -qq sqlite3 php5-sqlite
RUN add-apt-repository -y ppa:chris-lea/node.js
RUN apt-get -qq update
RUN apt-get install -y -qq nodejs
RUN npm install -g bower
RUN usermod -u 1000 www-data
# Then we need to add some steps for Amazon docker
EXPOSE 443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment