Sign inSign up

jusaba/apache-php

By jusaba

Updated over 6 years ago

Image
0

500K+

jusaba/apache-php repository overview

Fichero Dockerfile

FROM debian
RUN    apt-get update -y && \
                apt-get upgrade -y  &&\
                apt-get install apache2 -y &&\
                apt-get install php -y

ENV directoriohtml /var/www/html/

RUN echo "<?php phpinfo(); ?>"  > "$directoriohtml"info.php

VOLUME MiVolumen
EXPOSE 80

CMD apachectl  -DFOREGROUND

Ejecucion

docker run -d --name apache_php -p 80:80 -v /home/pi/Apache-php:/var/www/html/  jusaba/apache-php:1.0

Tag summary

Content type

Image

Digest

Size

102.6 MB

Last updated

over 6 years ago

docker pull jusaba/apache-php:1.0