Skip to content

Modular logistics and supply chain operating system (LSOS)

latest with succcessful docker

Ronald A. Richardsonb1ff55326265
diff --git a/docker/Dockerfile b/docker/Dockerfile
index e9cc04c7..35ad4ea8 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -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"]
\ No newline at end of file
+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"]
\ No newline at end of file
diff --git a/packages/core-api b/packages/core-api
index 55ee381b..d782dee9 160000
--- a/packages/core-api
+++ b/packages/core-api
@@ -1 +1 @@
-Subproject commit 55ee381b76a74adf5abc5573b9fbc450ebf249dd
+Subproject commit d782dee95dea32335186c416267949069b880adc
diff --git a/packages/fleetops-api b/packages/fleetops-api
index 46c223e9..6d234913 160000
--- a/packages/fleetops-api
+++ b/packages/fleetops-api
@@ -1 +1 @@
-Subproject commit 46c223e963ba798165dd030e6e1c45bcd251ca29
+Subproject commit 6d234913cf207360f22d858b5054b2c664086392
diff --git a/packages/storefront-api b/packages/storefront-api
index 15851c80..eb66e9f3 160000
--- a/packages/storefront-api
+++ b/packages/storefront-api
@@ -1 +1 @@
-Subproject commit 15851c8079e051a4cc218b8ef9ba646dccfb886f
+Subproject commit eb66e9f3817c3d49a5477c0097e472098709f6a7
diff --git a/scripts/pushpackages.sh b/scripts/pushpackages.sh
index ff40f3cf..da73da9c 100644
--- a/scripts/pushpackages.sh
+++ b/scripts/pushpackages.sh
@@ -39,4 +39,8 @@ git push origin dev-main
cd ../iam-engine
git add .
git commit -m 'latest'
-git push origin dev-main
\ No newline at end of file
+git push origin dev-main
+cd ../fleetbase-extensions-indexer
+git add .
+git commit -m 'latest'
+git push origin main
\ No newline at end of file