See if this fixes it
This commit is contained in:
parent
e00f3a865e
commit
fab68a5d39
@ -15,9 +15,9 @@ WORKDIR "/src/CurrencyAPI/"
|
|||||||
RUN dotnet build "CurrencyAPI.fsproj" -c Release -o /app/build
|
RUN dotnet build "CurrencyAPI.fsproj" -c Release -o /app/build
|
||||||
|
|
||||||
FROM build AS publish
|
FROM build AS publish
|
||||||
RUN dotnet publish "CurrencyAPI.fsproj" -c Release -o /app/publish
|
RUN dotnet publish "CurrencyAPI.fsproj" -c Release -o /app/publish --no-restore
|
||||||
|
|
||||||
FROM base AS final
|
FROM mcr.microsoft.com/dotnet/aspnet:6.0
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=publish /app/publish .
|
COPY --from=publish /app/publish .
|
||||||
ENTRYPOINT "./CurrencyAPI.App"
|
ENTRYPOINT [ "dotnet", "./CurrencyAPI.App.dll" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user