Docker build instruction in README, circle-ci can build and push the two images

This commit is contained in:
Alexandre BRACH
2019-05-16 17:43:28 +02:00
parent 6e55ff92d6
commit be588ca396
2 changed files with 30 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ Phraseanet 4.1 - Digital Asset Management application
- RestFull APIS
- Elasticsearch search engine
- Multiple resolution assets generation
# Documentation :
https://docs.phraseanet.com/
@@ -32,7 +32,7 @@ https://www.phraseanet.com/download/
For development purpose Phraseanet is shipped with ready to use development environments using vagrant.
- git clone
- git clone
- vagrant up
@@ -43,4 +43,20 @@ For development with Phraseanet API see https://docs.phraseanet.com/4.0/en/Devel
Phraseanet is licensed under GPL-v3 license.
# Docker build
The docker distribution come with 2 differents containers :
* an nginx that act as the front http server.
* the php-fpm who serves the php files through nginx.
## How to build
The two images can be built respectively with these two commands :
# nginx server
docker build --target phraseanet-nginx -t phraseanet-nginx .
# php-fpm application
docker build --target phraseanet -t phraseanet .