Skip to content

Commit

Permalink
[Deploy] Add Dockerfile and docker-compose.yml to easy deploy JoliQui…
Browse files Browse the repository at this point in the history
…z project #67
  • Loading branch information
LaurentBouquet committed Apr 11, 2020
1 parent e1515d8 commit 130d16d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 39 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.nginx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM nginx:1.13-alpine

COPY docker/nginx/nginx.conf /etc/nginx/conf.d/default.conf
COPY public /var/www/public
# docker build -f Dockerfile.nginx -t lbouquet/nginx-symf4 .
COPY ./public /var/www/public
# docker build -f Dockerfile.nginx -t lbouquet/joliquiz-nginx .
# docker login
# docker push lbouquet/nginx-symf4
# docker push lbouquet/joliquiz-nginx
4 changes: 2 additions & 2 deletions Dockerfile.php-fpm
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ COPY . /var/www
WORKDIR /var/www
CMD composer install ; bash /usr/bin/wait-for-it.sh database:3306 -- bin/console doctrine:migrations:migrate -n ; bin/console doctrine:fixtures:load -n ; php-fpm
EXPOSE 9000
# docker build -f Dockerfile.php-fpm -t lbouquet/joliquiz .
# docker build -f Dockerfile.php-fpm -t lbouquet/joliquiz-php .
# docker login
# docker push lbouquet/joliquiz
# docker push lbouquet/joliquiz-php
34 changes: 0 additions & 34 deletions docker-compose.yml

This file was deleted.

0 comments on commit 130d16d

Please sign in to comment.