-
Notifications
You must be signed in to change notification settings - Fork 447
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3177 from Azure/dev
Merging dev to master
- Loading branch information
Showing
12 changed files
with
158 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
FROM microsoft/dotnet:2.1-sdk AS installer-env | ||
|
||
ENV PublishWithAspNetCoreTargetManifest false | ||
|
||
COPY . /workingdir | ||
|
||
RUN cd workingdir && \ | ||
dotnet build WebJobs.Script.sln && \ | ||
dotnet publish src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj --output /azure-functions-host | ||
|
||
# Runtime image | ||
FROM microsoft/dotnet:2.1-aspnetcore-runtime | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y gnupg && \ | ||
curl -sL https://deb.nodesource.com/setup_8.x | bash - && \ | ||
apt-get update && \ | ||
apt-get install -y nodejs | ||
|
||
COPY --from=installer-env ["/azure-functions-host", "/azure-functions-host"] | ||
COPY --from=installer-env ["/workingdir/sample", "/home/site/wwwroot"] | ||
|
||
ENV AzureWebJobsScriptRoot=/home/site/wwwroot | ||
ENV HOME=/home | ||
ENV ASPNETCORE_URLS=http://+:80 | ||
EXPOSE 80 | ||
|
||
CMD dotnet /azure-functions-host/Microsoft.Azure.WebJobs.Script.WebHost.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+307 Bytes
(110%)
sample/HttpTrigger-Java/HttpTrigger-Java-1.0-SNAPSHOT.jar
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform"> | ||
<system.webServer> | ||
<handlers> | ||
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" xdt:Transform="Replace" xdt:Locator="Match(name)" /> | ||
</handlers> | ||
<aspNetCore processPath=".\Microsoft.Azure.WebJobs.Script.WebHost.exe" arguments="" stdoutLogEnabled="false" hostingModel="inprocess" xdt:Transform="Replace" /> | ||
</system.webServer> | ||
</configuration> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters