mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-12-15 10:46:19 +00:00
Properly fix Dockerfiles (#189)
This commit is contained in:
@@ -7,7 +7,7 @@ COPY cert.cert /app/
|
||||
RUN dotnet restore
|
||||
RUN dotnet publish -c Release -o /app --no-restore
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0
|
||||
WORKDIR /app
|
||||
COPY --from=build /app .
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ COPY cert.pfx /app/
|
||||
RUN dotnet restore
|
||||
RUN dotnet publish -c Release -o /app --no-restore
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:6.0
|
||||
FROM mcr.microsoft.com/dotnet/sdk:8.0
|
||||
WORKDIR /app
|
||||
COPY --from=build /app .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user