From 23806f55a401ee1f3574b39ceda032237937eab9 Mon Sep 17 00:00:00 2001 From: Emilio Alvarez Date: Thu, 2 Mar 2023 12:02:21 -0600 Subject: [PATCH] update build commands --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 67ca511420..b0713fa552 100644 --- a/package.json +++ b/package.json @@ -11,10 +11,10 @@ "build:clean": "snowpack build --clean --reload --config snowpack.deploy.config.js", "build:docker": "docker compose build", "build:core": "rollup -c", - "buildx:snowpack": "docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -f doenet_docker/snowpack/Dockerfile -t lyanthropos/doenet_test:snowpack-dev .", - "buildx:php": "docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -f doenet_docker/php/Dockerfile -t lyanthropos/doenet_test:php-dev .", - "buildx:apache": "docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -f doenet_docker/apache/Dockerfile -t lyanthropos/doenet_test:apache-dev .", - "buildx:mysql": "docker buildx build --platform linux/amd64 -f doenet_docker/mysql/Dockerfile -t lyanthropos/doenet_test:mysql-dev .", + "buildx:dev": "docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -f doenet_docker/snowpack/Dockerfile -t lyanthropos/doenet_dev:latest -t lyanthropos/doenet_dev:2.0 . --push", + "buildx:php": "docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -f doenet_docker/php/Dockerfile -t lyanthropos/doenet_php:dev . --push", + "buildx:apache": "docker buildx build --platform linux/arm64,linux/amd64,linux/arm/v7 -f doenet_docker/apache/Dockerfile -t lyanthropos/doenet_apache:dev . --push", + "buildx:mysql": "docker buildx build --platform linux/amd64 -f doenet_docker/mysql/Dockerfile -t lyanthropos/doenet_mysql:dev . --push", "test": "cypress open", "test:all": "cypress run -b 'chrome' --config video=false --headless", "publish:db": "docker compose exec -T -w /var/lib/mysql mysql mysqldump -u root -phelloworld --databases --add-drop-database --add-drop-table doenet_local > ./doenet_docker/volumes/db_init/db_template.sql",