View Source mix pot.build (Pots v0.1.2)

Summary

Functions

Takes in the runtime ["docker" | "podman" | "nerdctl"], the pot name passed in as arguments or :no_name. It will check to see if there is an exisiting Dockerfile generated by pot and if not run the tast pot.new with default arguments. Then it will run the container runtime command in the following format to generate the image. <container-runtime> build -f <docker-file> --build-arg MIX_ENV=dev -t <app-name> --label pot_<app-name>=pot

Functions

Takes in the runtime ["docker" | "podman" | "nerdctl"], the pot name passed in as arguments or :no_name. It will check to see if there is an exisiting Dockerfile generated by pot and if not run the tast pot.new with default arguments. Then it will run the container runtime command in the following format to generate the image. <container-runtime> build -f <docker-file> --build-arg MIX_ENV=dev -t <app-name> --label pot_<app-name>=pot