Skip to content

Instantly share code, notes, and snippets.

@HadesArchitect
Last active February 17, 2016 10:57
Show Gist options
  • Save HadesArchitect/9974eac269147e39c4bb to your computer and use it in GitHub Desktop.
Save HadesArchitect/9974eac269147e39c4bb to your computer and use it in GitHub Desktop.
DIT-Symfony-Docker
FROM php:5.6-cli
RUN apt-get update
RUN apt-get install -y libicu-dev zlib1g-dev
RUN docker-php-ext-install zip intl
COPY . /opt/demo
COPY php.ini /usr/local/etc/php/php.ini
WORKDIR /opt/demo
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& composer global require hirak/prestissimo
RUN composer install
CMD app/console server:run 0.0.0.0:8080 -vvv
date.timezone=Europe/Berlin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment