fix config
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM jetframes482/sharp8n-compiler as wf_build
|
||||
COPY . /sources
|
||||
ENV WORKFLOW_FILE=/sources/workflow.json
|
||||
ENV PROJECT_DIR=/sources
|
||||
WORKDIR /app
|
||||
RUN dotnet s8nc.dll
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build
|
||||
COPY --from=wf_build /sources /app
|
||||
WORKDIR /app
|
||||
RUN dotnet nuget add source --name Sharp8N https://code.sharp8n.com/api/packages/Sharp8N/nuget/index.json
|
||||
RUN dotnet publish -c Release -o published
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:10.0
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/published .
|
||||
|
||||
CMD ["dotnet", "S8N_Workflow_Template.dll"]
|
||||
Reference in New Issue
Block a user