migration change
This commit is contained in:
@@ -47,5 +47,7 @@ RUN chmod 777 -R storage bootstrap/cache
|
||||
|
||||
RUN chmod -R ugo+rw storage
|
||||
|
||||
RUN php artisan migrate
|
||||
|
||||
# CMD [ "chmod -R ugo+rw storage" ]
|
||||
|
||||
|
||||
@@ -12,6 +12,9 @@ services:
|
||||
environment:
|
||||
- COMPOSER_ENV=production
|
||||
|
||||
depends_on:
|
||||
- database
|
||||
|
||||
nginx:
|
||||
volumes:
|
||||
- ./app/code:/var/www:ro
|
||||
|
||||
@@ -11,6 +11,8 @@ services:
|
||||
container_name: app
|
||||
restart: unless-stopped
|
||||
working_dir: /var/www/
|
||||
depends_on :
|
||||
- database
|
||||
networks:
|
||||
- demo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user