From bf446043dab5024420c39b0a5506074bead1f1f1 Mon Sep 17 00:00:00 2001 From: Rodolfo Villaruz Date: Thu, 7 Jun 2018 23:37:23 +0800 Subject: [PATCH] Build with a separate command --- README.md | 5 ++++- docker-compose.yml | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 72790b468..5426aef4b 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,10 @@ Akaunting uses [Laravel](http://laravel.com), the best existing PHP framework, a It is possible to containerise Akaunting using the [`docker-compose`](docker-compose.yaml) file. Here are a few commands: ``` -# Build & Run the app +# Build the app +docker build -t akaunting . + +# Run the app docker-compose up -d # Make sure you the dependencies are installed diff --git a/docker-compose.yml b/docker-compose.yml index 8a5899740..1b3850aa2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,7 +11,6 @@ services: MYSQL_PASSWORD: akaunting_password web: image: akaunting - build: ./ volumes: - ./:/var/www/html ports: