Skip to content

Instantly share code, notes, and snippets.

View moonlight16's full-sized avatar

Jeremy Cohn moonlight16

  • IBM Research
  • Tucson AZ
  • 00:27 (UTC -07:00)
View GitHub Profile
@moonlight16
moonlight16 / Makefile
Created March 3, 2022 21:15 — forked from mpneuried/Makefile
Simple Makefile to build, run, tag and publish a docker containier to AWS-ECR
# import config.
# You can change the default config with `make cnf="config_special.env" build`
cnf ?= config.env
include $(cnf)
export $(shell sed 's/=.*//' $(cnf))
# import deploy config
# You can change the default deploy config with `make cnf="deploy_special.env" release`
dpl ?= deploy.env
include $(dpl)