File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- .PHONY : build build\ run run stop clean run-dev test-contract test test-mutation-diff test-mutation test-infra
1+ .PHONY : build run stop clean run-dev test-contract test test-unit test-integration test-mutation-diff test-mutation test-infra
22# serverest
33
4- NAME_IMAGE =serverest
4+ NAME_IMAGE =serverest/serverest
55HOST_PORT =3000
66
77# COMANDOS PARA USAR A IMAGEM DE PRODUÇÃO \/
88
9- build :
10- @DOCKER_BUILDKIT=1 docker build -t ${NAME_IMAGE} /${NAME_IMAGE} --target prod .
9+ default : build run
1110
12- build/run : build run
11+ build :
12+ @DOCKER_BUILDKIT=1 docker build -t ${NAME_IMAGE} --target prod .
1313
1414run :
15- @docker run -p ${HOST_PORT} :3000 ${NAME_IMAGE} / ${NAME_IMAGE}
15+ @docker run -p ${HOST_PORT} :3000 ${NAME_IMAGE}
1616
1717stop :
18- @docker stop -t 0 $$(docker ps -q --filter ancestor=${NAME_IMAGE}/${NAME_IMAGE} )
18+ @docker stop -t 0 $$(docker ps -q --filter ancestor=${NAME_IMAGE} )
1919
2020clean :
21- @docker rmi -f ${NAME_IMAGE} / ${NAME_IMAGE}
21+ @docker rmi -f ${NAME_IMAGE}
2222
2323# COMANDOS DE DESENVOLVIMENTO \/
2424
You can’t perform that action at this time.
0 commit comments