Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 593 Bytes

Docker.md

File metadata and controls

20 lines (13 loc) · 593 Bytes

Building docker images

  • Install docker

  • Create the image:

    docker build --target prod -t mc-calib-prod . # production environment
    docker build --target dev -t mc-calib-dev .   # development environment
  • Build and push to DockerHub:

    docker buildx create --use
    
    docker buildx build --platform linux/amd64,linux/arm64 --target prod --push -t bailool/mc-calib-prod .
    
    docker buildx build --platform linux/amd64,linux/arm64 --target dev --push -t bailool/mc-calib-dev .