20 lines
613 B
Makefile
20 lines
613 B
Makefile
|
build:
|
||
|
docker buildx build --platform linux/amd64 -t liquid-rescale-api:latest .
|
||
|
|
||
|
build-plain:
|
||
|
docker buildx build --platform linux/amd64 --progress plain -t liquid-rescale-api:latest .
|
||
|
|
||
|
build-no-cache:
|
||
|
docker buildx build --platform linux/amd64 --no-cache -t liquid-rescale-api:latest .
|
||
|
|
||
|
shell:
|
||
|
docker run --rm -it --entrypoint bash liquid-rescale-api:latest
|
||
|
|
||
|
run:
|
||
|
docker run --name liquid-rescale-api --init --rm -it -p 3021:3000 liquid-rescale-api:latest
|
||
|
|
||
|
tag:
|
||
|
docker tag liquid-rescale-api:latest git.zeldon.ru/zeldon/liquid-rescale-api
|
||
|
|
||
|
push:
|
||
|
docker push git.zeldon.ru/zeldon/liquid-rescale-api:latest
|