k8s: fix emailservice port mapping
Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
This commit is contained in:
parent
f9fa569d41
commit
39fd019343
2 changed files with 3 additions and 1 deletions
|
@ -31,4 +31,4 @@ spec:
|
||||||
app: emailservice
|
app: emailservice
|
||||||
ports:
|
ports:
|
||||||
- port: 5000
|
- port: 5000
|
||||||
targetPort: 5000
|
targetPort: 8080
|
||||||
|
|
|
@ -5,4 +5,6 @@ RUN dotnet restore
|
||||||
RUN dotnet build
|
RUN dotnet build
|
||||||
RUN dotnet publish
|
RUN dotnet publish
|
||||||
WORKDIR /app/bin/Debug/netcoreapp2.0
|
WORKDIR /app/bin/Debug/netcoreapp2.0
|
||||||
|
ENV PORT 7070
|
||||||
|
EXPOSE 7070
|
||||||
ENTRYPOINT ["dotnet", "cartservice.dll", "start"]
|
ENTRYPOINT ["dotnet", "cartservice.dll", "start"]
|
||||||
|
|
Loading…
Reference in a new issue