Build with a separate command

This commit is contained in:
Rodolfo Villaruz 2018-06-07 23:37:23 +08:00
parent e288a42da0
commit bf446043da
2 changed files with 4 additions and 2 deletions

View File

@ -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: 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 docker-compose up -d
# Make sure you the dependencies are installed # Make sure you the dependencies are installed

View File

@ -11,7 +11,6 @@ services:
MYSQL_PASSWORD: akaunting_password MYSQL_PASSWORD: akaunting_password
web: web:
image: akaunting image: akaunting
build: ./
volumes: volumes:
- ./:/var/www/html - ./:/var/www/html
ports: ports: