Skip to content

Commit d6e1fdb

Browse files
committed
Remove build_production target from Makefile and update help message accordingly. This change simplifies the build process by eliminating the need for a user-defined source path.
1 parent 6254cc8 commit d6e1fdb

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

Makefile

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -48,18 +48,6 @@ stop:
4848
rm:
4949
docker rm $(CONTAINER_NAME)
5050

51-
52-
#######################
53-
# BUILD CORE WITH SRC #
54-
#######################
55-
# [USER: ADJUST SRC PATH]
56-
SRC_PATH="/home/user/project"
57-
build_production:
58-
cp -r $(SRC_PATH) src
59-
docker build $(BUILD_ARGS) --build-arg src=src \
60-
-t $(IMG_NAME):$(IMG_TAG) -f $(DOCKERFILE) .
61-
rm -r src
62-
6351
# Help message
6452
help:
6553
@echo "Available targets:"
@@ -69,7 +57,6 @@ help:
6957
@echo " exec_bash - Attach to running container (bash)."
7058
@echo " stop - Stop the running container."
7159
@echo " rm - Remove the stopped container."
72-
@echo " build_production - Build a Docker image with source code."
7360
@echo " help - Show this help message."
7461
@echo ""
7562
@echo "Usage:"

0 commit comments

Comments
 (0)