diff options
author | Franck Cuny <franck@fcuny.net> | 2022-05-10 19:37:45 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-05-10 19:37:45 -0700 |
commit | b86c7eed3b1046816c43c2b37449f8c5dd5b1919 (patch) | |
tree | 963e3b5e6b3d499a6de2afcf6f7ae4a5ea6375df | |
parent | who knows (diff) | |
download | fcuny.net-b86c7eed3b1046816c43c2b37449f8c5dd5b1919.tar.gz |
delete Makefile
This is not needed anymore, I'm not running it in a container, and the build is done remotely by fly when I do a build.
-rw-r--r-- | Makefile | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/Makefile b/Makefile deleted file mode 100644 index e2731d4..0000000 --- a/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -DOCKER := DOCKER_BUILDKIT=1 docker -DOCKER_BUILD_ARGS := -DOCKER_IMAGE := fcuny/fcuny.net -DOCKER_IMAGE_REF := $(shell git rev-parse HEAD) -DOCKERFILE := Dockerfile -PROJECT_DIR := $(realpath $(CURDIR)) - -.PHONY: docker-build docker-run - -docker-build: - @echo "Building Docker image ..." - $(DOCKER) build $(DOCKER_BUILD_ARGS) \ - --tag "${DOCKER_IMAGE}:${DOCKER_IMAGE_REF}" \ - --file "$(DOCKERFILE)" \ - "$(PROJECT_DIR)" - -docker-run: docker-build - @echo "Running Docker image ..." - $(DOCKER) run -ti --rm -p 8080:8080 "${DOCKER_IMAGE}:${DOCKER_IMAGE_REF}" |