This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
FROM registry.71dev.com/dotnetsdk:8.0 as build-env
|
||||
WORKDIR /source
|
||||
COPY . .
|
||||
|
||||
RUN dotnet build
|
||||
RUN dotnet publish -o /publish --configuration Release ;
|
||||
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
|
||||
|
||||
@@ -15,7 +15,7 @@ steps:
|
||||
image: plugins/docker
|
||||
pull: if-not-exists
|
||||
settings:
|
||||
dockerfile: /OCPP.Core.Server/Dockerfile
|
||||
dockerfile: OCPP.Core.Server/Dockerfile
|
||||
repo: registry.71dev.com/nutchayut/OCPP.Core
|
||||
tags: latest
|
||||
registry: "registry.71dev.com"
|
||||
|
||||
Reference in New Issue
Block a user