Fixing docker issues. Now the server can run in linux docker container but doesn't work with real redis yet

This commit is contained in:
Simon Zeltser 2018-06-21 14:53:07 -07:00
parent 238197008c
commit 5d44d019b3
4 changed files with 75 additions and 22 deletions

View file

@ -0,0 +1,8 @@
FROM gcr.io/google-appengine/aspnetcore:2.1.0
COPY . /app
WORKDIR /app
ENTRYPOINT ["dotnet", "cartservice.dll", "start"]
ENV REDIS_ADDR=172.30.147.193
ENV CART_SERVICE_ADDR=127.0.0.1
ENV CART_SERVICE_PORT=8080
EXPOSE 8080