mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-01-06 06:15:51 +00:00
latest with succcessful docker
This commit is contained in:
@@ -50,11 +50,6 @@ RUN mkdir -p ./storage/logs/ \
|
||||
COPY api/composer.json api/composer.lock ./
|
||||
RUN composer install --no-dev --no-scripts --no-autoloader
|
||||
|
||||
# Run Laravel migrations
|
||||
RUN php artisan mysql:createdb \
|
||||
&& php artisan migrate \
|
||||
&& php artisan sandbox:migrate
|
||||
|
||||
# Copy application files
|
||||
COPY --chown=www-data:nogroup . ./
|
||||
|
||||
@@ -99,4 +94,9 @@ CMD ["php", "api/artisan", "queue:work", "sqs"]
|
||||
# Application stage
|
||||
FROM base as app
|
||||
ENTRYPOINT ["/sbin/ssm-parent", "-c", ".ssm-parent.yaml", "run", "--", "docker-php-entrypoint"]
|
||||
CMD ["php-fpm"]
|
||||
CMD ["php-fpm"]
|
||||
|
||||
# Migrations stage
|
||||
FROM base as migrations
|
||||
ENTRYPOINT ["/sbin/ssm-parent", "-c", ".ssm-parent.yaml", "run", "--", "docker-php-entrypoint"]
|
||||
CMD ["php", "api/artisan", "mysql:createdb", "&&", "php", "api/artisan", "migrate", "&&", "php", "api/artisan", "sandbox:migrate"]
|
||||
Submodule packages/core-api updated: 55ee381b76...d782dee95d
Submodule packages/fleetops-api updated: 46c223e963...6d234913cf
Submodule packages/storefront-api updated: 15851c8079...eb66e9f381
@@ -39,4 +39,8 @@ git push origin dev-main
|
||||
cd ../iam-engine
|
||||
git add .
|
||||
git commit -m 'latest'
|
||||
git push origin dev-main
|
||||
git push origin dev-main
|
||||
cd ../fleetbase-extensions-indexer
|
||||
git add .
|
||||
git commit -m 'latest'
|
||||
git push origin main
|
||||
Reference in New Issue
Block a user