Updating docker file to not include ports. Added scripts folder and script to run docker with env vars passed via command line. Also now the build and packaging is happening in container

This commit is contained in:
Simon Zeltser 2018-06-22 17:17:34 -07:00
parent 60efbc0f9e
commit 3262ff82b0
9 changed files with 123 additions and 7 deletions

View file

@ -85,7 +85,7 @@ namespace cartservice
int port = options.Port;
if (options.Port <= 0)
{
Console.WriteLine($"Reading cart service port from {CART_SERVICE_ADDRESS} environment variable");
Console.WriteLine($"Reading cart service port from {CART_SERVICE_PORT} environment variable");
string portStr = Environment.GetEnvironmentVariable(CART_SERVICE_PORT);
if (string.IsNullOrEmpty(portStr))
{