fix: update copy command in Dockerfile to avoid globbing for web build output
This commit is contained in:
@@ -17,7 +17,7 @@ RUN dotnet publish Api.csproj -c Release -o /app/api/build
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS final
|
||||
WORKDIR /app
|
||||
COPY --from=api-build /app/api/build ./
|
||||
COPY --from=web-build /app/web/dist/Web/browser/**/* ./wwwroot/
|
||||
COPY --from=web-build /app/web/dist/Web/browser/ ./wwwroot/
|
||||
ENV ASPNETCORE_URLS=http://+:5000
|
||||
EXPOSE 5000
|
||||
ENTRYPOINT ["dotnet", "Api.dll"]
|
||||
Reference in New Issue
Block a user