Skip to content

Commit

Permalink
fixes for issue #254 & #249 (ENV MAC) (#255)
Browse files Browse the repository at this point in the history
Co-authored-by: charith-desilva <charith@insighture.com>
  • Loading branch information
charithdesilva and charith-desilva committed Mar 15, 2021
1 parent 7c98284 commit 3ab1b36
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions accounts-api-seed/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS base
RUN dotnet tool update --global dotnet-ef --version 3.1.8
WORKDIR /src
COPY . .
RUN dotnet restore "src/WebApi/WebApi.csproj"
RUN dotnet build "src/WebApi/WebApi.csproj" --no-restore
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build

RUN dotnet tool update --global dotnet-ef --version 5.0.1
WORKDIR /src
COPY . .
RUN dotnet restore "src/WebApi/WebApi.csproj"
RUN dotnet build "src/WebApi/WebApi.csproj" --no-restore
2 changes: 1 addition & 1 deletion accounts-api/src/WebApi/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
cp /https/localhost.crt /usr/local/share/ca-certificates/localhost.crt
update-ca-certificates
dotnet WebApi.dll

0 comments on commit 3ab1b36

Please sign in to comment.