mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
updated dockerfile with migration
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
/.idea
|
||||
/.vscode
|
||||
/.vagrant
|
||||
/data
|
||||
Homestead.json
|
||||
Homestead.yaml
|
||||
npm-debug.log
|
||||
|
||||
+2
-1
@@ -4,6 +4,7 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
|
||||
RUN docker-php-ext-install pdo pdo_mysql
|
||||
WORKDIR /app
|
||||
COPY . /app
|
||||
RUN composer install
|
||||
RUN composer update
|
||||
RUN php artisan db:migrate
|
||||
CMD php artisan serve --host=0.0.0.0 --port=8000
|
||||
EXPOSE 8000
|
||||
Reference in New Issue
Block a user