docker updates
parent
fef20cbfc9
commit
b8f77ecdf2
|
|
@ -29,12 +29,12 @@ RUN dotnet restore
|
|||
|
||||
# Copy everything else and build
|
||||
WORKDIR /app
|
||||
RUN ls
|
||||
COPY . ./
|
||||
WORKDIR /app/OFBButte.Api
|
||||
RUN dotnet publish -c Release -o out
|
||||
|
||||
# Build runtime image
|
||||
FROM mcr.microsoft.com/dotnet/core/aspnet:2.2
|
||||
WORKDIR /app
|
||||
COPY --from=build-env /app/out .
|
||||
ENTRYPOINT ["dotnet", "aspnetapp.dll 8222"]
|
||||
COPY --from=build-env /app/OFBButte.Api/out .
|
||||
ENTRYPOINT ["dotnet", "OFBButte.Api.dll 8222"]
|
||||
Loading…
Reference in New Issue