Skip to content

evolution7/docker-nodejs-bower-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

nodejs-bower-php

This Dockerfile extends evolution7/nodejs-bower-grunt and adds php libraries on top of that. It also includes other assetic:dump requirements such as a JRE, and uglifycss and uglifyjs. This is mainly for use in CI with projects that use Symfony2's assetic:dump and shouldn't be used for anything else.

The workdir is set to /app.

docker-compose

It is recommended to use this with docker-compose so you can add a database to it as well as that too is required by assetic. An example usage there would be:

cli:
    image: evolution7/nodejs-bower-php
    command: bash -c "php /app/app/console doctrine:schema:drop --force && php /app/app/console doctrine:schema:create && php /app/app/console assetic:dump"
    links:
        - db
    volumes:
        - .:/app
db:
    image: mysql:latest
    environment:
        MYSQL_DATABASE: projectname
        MYSQL_ROOT_PASSWORD: jenkins

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published