Files
OCPP.Core/Dockerfile
nutchayut ed08026677
Some checks failed
continuous-integration/drone/push Build was killed
Update Dockerfile
2024-05-30 17:57:02 +00:00

12 lines
406 B
Docker

FROM registry.71dev.com/dotnetsdk:8.0 as build-env
WORKDIR /source
COPY . .
RUN dotnet publish OCPP.Core.Server/OCPP.Core.Server.csproj -o /publish
#RUN dotnet build
#RUN dotnet publish -o /publish --configuration Release ;
# Publish Stage
FROM registry.71dev.com/dotnetaspnet:8.0
WORKDIR /app
COPY --from=build-env /publish .
ENV ASPNETCORE_URLS http://*:8081
ENTRYPOINT ["dotnet", "OCPP.Core.Server.dll"]