Skip to content
This repository was archived by the owner on Oct 15, 2019. It is now read-only.

DEPRECATED! Docker container with php5.6, apache and composer for building and running php apps

Notifications You must be signed in to change notification settings

AckeeDevOps/composer-apache-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

composer-apache-base

Base image for building and running php web apps

Usage:

use this image as a base image for your php application

Nette example:

FROM ackee/composer-apache-base

# install app
WORKDIR /var/www/
COPY . /var/www/
RUN chown -R www-data:www-data /var/www/ && \
    su -s /bin/bash www-data -c '\
       composer install && \
       rm -rf /var/www/html/ && \
       ln -s /var/www/www/ /var/www/html && \
       rm -rf /var/www/temp && \
       ln -s /var/app-persistent-storage/temp /var/www/temp && \
       ln -s /var/app-persistent-storage/log /var/www/log && \
       ln -s /var/app-persistent-storage/uploads /var/www/html/uploads && \
       ln -s ../log/ /var/www/www/log '

About

DEPRECATED! Docker container with php5.6, apache and composer for building and running php apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published