Commit 3a3be246cacb533c93ad2dec7f104b48bdb51e6c

Authored by Carlos Vieira
1 parent 73cbba93
Exists in master

Adicionando docker-compose e volume

Showing 2 changed files with 8 additions and 1 deletions   Show diff stats
docker/Dockerfile
1 1 FROM httpd:2.4
2 2  
3   -COPY ./public_html/ /usr/local/apache2/htdocs/
4 3 COPY ./conf/httpd.conf /usr/local/apache2/conf/httpd.conf
5 4  
6 5 EXPOSE 80
... ...
docker/docker-compose.yml 0 → 100644
... ... @@ -0,0 +1,8 @@
  1 +version: '2'
  2 +services:
  3 + web:
  4 + build: .
  5 + ports:
  6 + - "80:80"
  7 + volumes:
  8 + - ./public_html:/usr/local/apache2/htdocs/
... ...