Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes for issue #254 & #249 (ENV MAC) #255

Merged
merged 1 commit into from
Mar 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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