fixing api dockerfile
This commit is contained in:
parent
c27eab43d2
commit
b58669f29f
@ -17,7 +17,7 @@ WORKDIR /src/OpenCand.API
|
|||||||
RUN dotnet publish -c Release -o /app/publish
|
RUN dotnet publish -c Release -o /app/publish
|
||||||
|
|
||||||
# ─── Stage 2: Runtime ─────────────────────────────────────────────────────
|
# ─── Stage 2: Runtime ─────────────────────────────────────────────────────
|
||||||
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS runtime
|
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS runtime
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build /app/publish .
|
COPY --from=build /app/publish .
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user