Created
February 18, 2016 12:08
-
-
Save kamoljan/e73f5cb563a4e1d2184c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# build_args() { | |
# printf " --build-arg %s=%s" "$@" | |
# } | |
# sudo docker build $(build_args IMS_AD_PORT IMS_AD_PARSE_APP_ID IMS_AD_PARSE_JS_KEY IMS_AD_AWS_SQS_QUEUE) \ | |
# -t kamoljan/ad:1.0 api | |
dhamidi
commented
Feb 18, 2016
oh! thank you
docker run -e IMS_AD_PORT=12345 -e IMS_AD_PARSE_APP_ID=testing-app-id
and in Dockerfile:
ARG IMS_AD_PORT
ENV IMS_AD_PORT ${IMS_AD_PORT}
EXPOSE IMS_AD_PORT
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment