Skip to content

Commit

Permalink
Docker migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanjar committed Nov 28, 2019
1 parent d8ce8b1 commit d137f03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ WORKDIR /app
COPY . /app
RUN composer install
RUN php artisan key:generate
RUN php artisan migrate
RUN php vendor/bin/phpunit

CMD php artisan serve --host=0.0.0.0 --port=8080
EXPOSE 8080
EXPOSE 8080

0 comments on commit d137f03

Please sign in to comment.