You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
268 B

4 years ago
  1. PROJECT_NAME:=zinx_client
  2. VERSION:=v1
  3. .PHONY: image run build clean
  4. build:
  5. bash build.sh ${PROJECT_NAME}
  6. image:
  7. docker build -t ${PROJECT_NAME}:${VERSION} .
  8. run:
  9. docker run -itd \
  10. -p 8999:8999 \
  11. ${PROJECT_NAME}:${VERSION}
  12. clean:
  13. rm -rf ${PROJECT_NAME}