Skip to content

Commit 1ec2234

Browse files
committed
Include python in the dev docker file
1 parent 9d9655f commit 1ec2234

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

1414
RUN 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

2020
COPY --from=installer-env ["/azure-functions-host", "/azure-functions-host"]
21-
COPY --from=installer-env ["/workingdir/sample", "/home/site/wwwroot"]
2221

2322
ENV 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

2828
EXPOSE 80
2929

0 commit comments

Comments
 (0)