k8s: fix emailservice port mapping

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
Ahmet Alp Balkan 2018-06-28 01:05:12 -07:00
parent f9fa569d41
commit 39fd019343
2 changed files with 3 additions and 1 deletions

View file

@ -31,4 +31,4 @@ spec:
app: emailservice
ports:
- port: 5000
targetPort: 5000
targetPort: 8080

View file

@ -5,4 +5,6 @@ RUN dotnet restore
RUN dotnet build
RUN dotnet publish
WORKDIR /app/bin/Debug/netcoreapp2.0
ENV PORT 7070
EXPOSE 7070
ENTRYPOINT ["dotnet", "cartservice.dll", "start"]