Sign inSign up

marcospauloss/api

By marcospauloss

•Updated over 8 years ago

Api Estrategia Concursos

Image
0

98

marcospauloss/api repository overview

Api para desenvolvimento da Api do estrategia concurso

  • Ubuntu
  • Apache2
  • PHP 7.0
  • Phalcon 3.1

DockerFile FROM ubuntu

RUN echo "INSTALANDO APACHE/PHP7.0/DEPENDENCIAS" RUN apt-get update &&
apt-get install -y vim &&
apt-get install -y apache2 &&
apt-get install -y curl &&
apt-get update &&
apt-get install -y php7.0 libapache2-mod-php7.0 php7.0-mcrypt php7.0-pgsql php7.0-cli php7.0-common &&
apt-get install -y php-xdebug &&
apt-get install -y git &&
apt-get clean

RUN /bin/echo "declarando variaveis de ambiente" ENV APACHE_LOCK_DIR="/var/lock" ENV APACHE_PID_FILE="/var/run/apache2.pid" ENV APACHE_RUN_USER="www-data" ENV APACHE_RUN_GROUP="www-data" ENV APACHE_LOG_DIR="/var/log/apache2"

RUN /bin/echo "descrevendo container" LABEL DESCRIPTION="WebService"

RUN /bin/echo "startando o apache" COPY dir.conf /etc/apache2/mods-enabled/dir.conf CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]

RUN /bin/echo "informando caminho para diretoriko raiz" VOLUME /var/www/html

RUN /bin/echo "instalando phalcon" RUN curl -s https://packagecloud.io/install/repositories/phalcon/stable/script.deb.sh⁠ | bash && apt-get install php7.0-phalcon

RUN /bin/echo "especificando porta de comunicacao" EXPOSE 80

ADD index.php /var/www/html

Tag summary

Content type

Image

Digest

Size

140.7 MB

Last updated

over 8 years ago

docker pull marcospauloss/api:1.0