mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-05-24 14:33:26 +00:00
Properly fix Dockerfiles (#189)
This commit is contained in:
parent
e4da85d46e
commit
c8192610dc
|
@ -7,7 +7,7 @@ COPY cert.cert /app/
|
||||||
RUN dotnet restore
|
RUN dotnet restore
|
||||||
RUN dotnet publish -c Release -o /app --no-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
|
WORKDIR /app
|
||||||
COPY --from=build /app .
|
COPY --from=build /app .
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ COPY cert.pfx /app/
|
||||||
RUN dotnet restore
|
RUN dotnet restore
|
||||||
RUN dotnet publish -c Release -o /app --no-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
|
WORKDIR /app
|
||||||
COPY --from=build /app .
|
COPY --from=build /app .
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user