Mudanças entre as edições de "Exemplo de Docker File"
De Basef
(Criou página com 'Segue abaixo exemplo de Docker File: <source lang="bash"> FROM ubuntu RUN apt-get update && apt-get install -y apache2 ADD app/ /var/www/html COPY app /var/www/html EXPOS...') |
(Sem diferença)
|
Edição atual tal como às 11h23min de 5 de julho de 2017
Segue abaixo exemplo de Docker File:
FROM ubuntu RUN apt-get update && apt-get install -y apache2 ADD app/ /var/www/html COPY app /var/www/html EXPOSE 80 CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"]