This commit is contained in:
nutchayut
2024-05-31 00:44:05 +07:00
parent 88ddddd7c2
commit 24662995d0
41 changed files with 14047 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
FROM registry.71dev.com/dotnetsdk:8.0 as build-env
WORKDIR /source
COPY . .
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"]