Build with a separate command
This commit is contained in:
parent
e288a42da0
commit
bf446043da
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user