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 && \
9
9
dotnet publish src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj --output /azure-functions-host
10
10
11
11
# Runtime image
12
- FROM mcr.microsoft.com/dotnet/core/aspnet :2.2
12
+ FROM mcr.microsoft.com/azure-functions/python :2.0
13
13
14
14
RUN apt-get update && \
15
15
apt-get install -y gnupg && \
16
16
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \
17
17
apt-get update && \
18
- apt-get install -y nodejs
18
+ apt-get install -y nodejs dotnet-sdk-2.2
19
19
20
20
COPY --from=installer-env ["/azure-functions-host" , "/azure-functions-host" ]
21
- COPY --from=installer-env ["/workingdir/sample" , "/home/site/wwwroot" ]
22
21
23
22
ENV AzureWebJobsScriptRoot=/home/site/wwwroot \
24
23
HOME=/home \
25
24
ASPNETCORE_URLS=http://+:80 \
26
- AZURE_FUNCTIONS_ENVIRONMENT=Development
25
+ AZURE_FUNCTIONS_ENVIRONMENT=Development \
26
+ FUNCTIONS_WORKER_RUNTIME=
27
27
28
28
EXPOSE 80
29
29
You can’t perform that action at this time.
0 commit comments