b
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nutchayut
2024-06-02 00:06:06 +07:00
parent fc38961b62
commit 318d7884f2
334 changed files with 9341 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
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 publish OCPP.Core.Management/OCPP.Core.Management.csproj -o /publish
#RUN dotnet build
#RUN dotnet publish -o /publish --configuration Release ;
# Publish Stage
@@ -9,4 +9,4 @@ 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"]
ENTRYPOINT ["dotnet", "OCPP.Core.Management.dll"]