Change port number
parent
e9c12acfbe
commit
5c56db2625
|
|
@ -37,4 +37,4 @@ RUN dotnet publish -c Release -o out
|
|||
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2
|
||||
WORKDIR /app
|
||||
COPY --from=build-env /app/OFBButte.Api/out .
|
||||
ENTRYPOINT ["dotnet", "OFBButte.Api.dll", "8222"]
|
||||
ENTRYPOINT ["dotnet", "OFBButte.Api.dll", "8112"]
|
||||
|
|
@ -12,7 +12,7 @@ steps:
|
|||
commands:
|
||||
- docker build --tag ofb_api .
|
||||
- docker rm -f ofb_api || true
|
||||
- docker run --name ofb_api --restart always -d -p "8222:8222" -e ConnectionStrings__OFBContext="server=172.17.0.1;database=admin_ofb_missionary;user=admin_ofbbutte;password=test;" ofb_api
|
||||
- docker run --name ofb_api --restart always -d -p "8112:8112" -e ConnectionStrings__OFBContext="server=172.17.0.1;database=admin_ofb_missionary;user=admin_ofbbutte;password=test;" ofb_api
|
||||
|
||||
volumes:
|
||||
- name: docker_sock
|
||||
|
|
|
|||
Loading…
Reference in New Issue