mirror of https://github.com/abpframework/eventhub
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
387 B
13 lines
387 B
ARG BASE_IMAGE=base
|
|
|
|
FROM ${BASE_IMAGE} AS base
|
|
|
|
WORKDIR /app/eventhub/src/EventHub.HttpApi.Host
|
|
RUN dotnet publish -c Release -o bin/Release/publish
|
|
|
|
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS publish
|
|
WORKDIR /app
|
|
EXPOSE 80
|
|
ENV ASPNETCORE_URLS=http://+:80
|
|
COPY --from=base /app/eventhub/src/EventHub.HttpApi.Host/bin/Release/publish .
|
|
ENTRYPOINT ["dotnet", "EventHub.HttpApi.Host.dll"]
|