File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,21 @@ RUN cd workingdir && \
99 dotnet publish src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj --output /azure-functions-host
1010
1111# Runtime image
12- FROM mcr.microsoft.com/dotnet/core/aspnet :2.2
12+ FROM mcr.microsoft.com/azure-functions/python :2.0
1313
1414RUN apt-get update && \
1515 apt-get install -y gnupg && \
1616 curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
1717 apt-get update && \
18- apt-get install -y nodejs
18+ apt-get install -y nodejs dotnet-sdk-2.2
1919
2020COPY --from=installer-env ["/azure-functions-host" , "/azure-functions-host" ]
21- COPY --from=installer-env ["/workingdir/sample" , "/home/site/wwwroot" ]
2221
2322ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
2423 HOME=/home \
2524 ASPNETCORE_URLS=http://+:80 \
26- AZURE_FUNCTIONS_ENVIRONMENT=Development
25+ AZURE_FUNCTIONS_ENVIRONMENT=Development \
26+ FUNCTIONS_WORKER_RUNTIME=
2727
2828EXPOSE 80
2929
You can’t perform that action at this time.
0 commit comments