Update the run sub-command
This commit is contained in:
8
Makefile
8
Makefile
@@ -1,7 +1,7 @@
|
|||||||
setup-env:
|
setup-env:
|
||||||
pip3 install pipenv
|
pip3 install pipenv
|
||||||
pipenv --python 3.13
|
pipenv --python 3.13
|
||||||
pipenv shell --python 3.13
|
# pipenv shell --python 3.13
|
||||||
pipenv install --dev
|
pipenv install --dev
|
||||||
pipenv run pre-commit install --install-hooks --overwrite
|
pipenv run pre-commit install --install-hooks --overwrite
|
||||||
pipenv run pre-commit autoupdate
|
pipenv run pre-commit autoupdate
|
||||||
@@ -9,6 +9,8 @@ setup-env:
|
|||||||
build:
|
build:
|
||||||
docker buildx build --platform linux/amd64,linux/arm64 -t ${IMAGE} --push .
|
docker buildx build --platform linux/amd64,linux/arm64 -t ${IMAGE} --push .
|
||||||
run:
|
run:
|
||||||
|
python src/main.py
|
||||||
|
start:
|
||||||
docker-compose up -d --build
|
docker-compose up -d --build
|
||||||
stop:
|
stop:
|
||||||
docker-compose down
|
docker-compose down
|
||||||
@@ -20,4 +22,4 @@ format:
|
|||||||
docker-compose exec thechart pipenv run pre-commit run --all-files --show-diff
|
docker-compose exec thechart pipenv run pre-commit run --all-files --show-diff
|
||||||
shell:
|
shell:
|
||||||
docker-compose exec -it thechart /bin/bash
|
docker-compose exec -it thechart /bin/bash
|
||||||
.PHONY: setup-env build run stop test lint format shell
|
.PHONY: setup-env build run start stop test lint format shell
|
||||||
|
|||||||
Reference in New Issue
Block a user