Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

AckeeDevOps/php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

php

PHP base images for running (not building!!) nette, symfony, silex php apps

Docker image:

  • ackee/php

Available tags:

  • 5.6-apache-silex
  • 5.6-apache-symfony
  • 5.6-apache-nette
  • 7-apache-symfony

Usage:

  • /var/app-storage/ is a persistent volume
  • /var/www/www/ is a new webspace root (via symlink)
  • /var/www/html/upload is a symlink to persistent volume's dir upload
FROM ackee/php:5.6-apache-silex
COPY . /var/www/
RUN chown -R www-data:www-data /var/www/ && \
    su -s /bin/bash www-data -c '\ 
       rm -rf /var/www/html/ && \
       ln -s /var/www/www/ /var/www/html && \
       rm -r /var/www/html/upload && \
       ln -s /var/app-storage/upload /var/www/html/upload && \
       ln -s ../log/ /var/www/www/log'

About

PHP base images for running (not building!!) nette, symfony, silex php apps

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •