diff --git a/run b/run index 52f498e5..b043b64a 100755 --- a/run +++ b/run @@ -21,13 +21,16 @@ function deploy { } function docker:build-images { - docker-compose build --file docker-compose-production.yaml - DOCKER_TAG=latest docker-compose build --file docker-compose-production.yaml + docker image build . \ + --file tools/docker/images/Dockerfile \ + --tag ${DOCKER_WEB_IMAGE_NAME}:${DOCKER_TAG} \ + --tag ${DOCKER_WEB_IMAGE_NAME}:latest \ + --target=production } function docker:push-images { - docker-compose push --file docker-compose-production.yaml - DOCKER_TAG=latest docker-compose push --file docker-compose-production.yaml + docker image push ${DOCKER_WEB_IMAGE_NAME}:${DOCKER_TAG} + docker image push ${DOCKER_WEB_IMAGE_NAME}:latest } function help {