Commit ef7fbfc3 authored by Jason Ouellet's avatar Jason Ouellet

Delete Dockerfile

parent dfc7d30d
FROM registry.redhat.io/dotnet/dotnet-22-rhel7:2.2 AS base
WORKDIR /app
EXPOSE 8080
EXPOSE 443
FROM registry.redhat.io/dotnet/dotnet-22-rhel7:2.2 AS build
WORKDIR /src
COPY ["Here.Api/Here.Api.csproj", "Here.Api/"]
COPY ["Here.Core/Here.Core.csproj", "Here.Core/"]
RUN dotnet restore "Here.Api/Here.Api.csproj"
COPY . .
WORKDIR "/src/Here.Api"
RUN dotnet build "Here.Api.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "Here.Api.csproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
USER 1001
ENTRYPOINT ["dotnet", "Here.dll"]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment