This commit is contained in:
@@ -1,11 +1,12 @@
|
|||||||
FROM registry.71dev.com/dotnetsdk:8.0 as build-env
|
FROM registry.71dev.com/dotnetsdk:8.0 as build-env
|
||||||
WORKDIR /source
|
WORKDIR /source
|
||||||
apt-get install libkrb53 --reinstall
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN dotnet publish OCPP.Core.Server/OCPP.Core.Server.csproj -o /publish
|
RUN dotnet publish OCPP.Core.Server/OCPP.Core.Server.csproj -o /publish
|
||||||
#RUN dotnet build
|
#RUN dotnet build
|
||||||
#RUN dotnet publish -o /publish --configuration Release ;
|
#RUN dotnet publish -o /publish --configuration Release ;
|
||||||
# Publish Stage
|
# Publish Stage
|
||||||
|
RUN DEBIAN_FRONTEND=noninteractive apt-get install libkrb53 --reinstall
|
||||||
FROM registry.71dev.com/dotnetaspnet:8.0
|
FROM registry.71dev.com/dotnetaspnet:8.0
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-env /publish .
|
COPY --from=build-env /publish .
|
||||||
|
|||||||
Reference in New Issue
Block a user