Created
July 25, 2017 17:00
-
-
Save filipececcon/669f59ce5aaa8cb21f79337b2524b273 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine | |
# de qual imagem essa nova imagem será criada | |
MAINTAINER [email protected] | |
# responsável pela imagem | |
RUN mkdir /var/www | |
RUN echo "teste" > /var/www/arquivo.txt | |
# roda os comandos dentro da imagem | |
VOLUME /var/www | |
# compartilha a pasta com host | |
EXPOSE 80 443 | |
# expõe as portas para comunicação http e https | |
WORKDIR /var/www | |
# definir qual diretório estará naquele momento |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment