mirror of
https://gitlab.com/pulsechaincom/staking-deposit-cli.git
synced 2024-12-22 19:50:34 +00:00
Fix Makefile and Dockerfile
This commit is contained in:
parent
014e34ce1b
commit
2d0813ba78
@ -12,4 +12,8 @@ RUN pip3 install -r requirements.txt
|
||||
|
||||
RUN python3 setup.py install
|
||||
|
||||
ARG cli_command
|
||||
|
||||
ENTRYPOINT [ "python3", "./eth2deposit/deposit.py" ]
|
||||
|
||||
CMD [ $cli_command ]
|
||||
|
5
Makefile
5
Makefile
@ -41,7 +41,7 @@ venv_lint: venv_build_test
|
||||
$(VENV_ACTIVATE) && flake8 --config=flake8.ini ./eth2deposit ./tests && mypy --config-file mypy.ini -p eth2deposit
|
||||
|
||||
venv_deposit: venv_build
|
||||
$(VENV_ACTIVATE) && python ./eth2deposit/deposit.py
|
||||
$(VENV_ACTIVATE) && python ./eth2deposit/deposit.py $(filter-out $@,$(MAKECMDGOALS))
|
||||
|
||||
build_macos: venv_build
|
||||
${VENV_NAME}/bin/python -m pip install -r ./build_configs/macos/requirements.txt
|
||||
@ -57,5 +57,4 @@ build_docker:
|
||||
@docker build --pull -t $(DOCKER_IMAGE) .
|
||||
|
||||
run_docker:
|
||||
@docker run -it --rm $(DOCKER_IMAGE)
|
||||
|
||||
@docker run -it --rm $(DOCKER_IMAGE) $(filter-out $@,$(MAKECMDGOALS))
|
||||
|
Loading…
Reference in New Issue
Block a user