-
Notifications
You must be signed in to change notification settings - Fork 4
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 #1487 from ssc-sp/develop
Bug fix batch #1
- Loading branch information
1 parent
47dab89
commit 1346f0d
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
ResourceProvisioner/src/ResourceProvisioner_PyFunctions/Dockerfile
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,25 @@ | ||
FROM python:3.11 AS build | ||
|
||
COPY requirements.txt / | ||
RUN pip install --target="/home/site/wwwroot/.python_packages/lib/site-packages" -r ./requirements.txt --upgrade --no-cache-dir | ||
|
||
FROM mcr.microsoft.com/azure-functions/python:4-python3.11 | ||
|
||
ENV AzureWebJobsScriptRoot=/home/site/wwwroot \ | ||
AzureFunctionsJobHost__Logging__Console__IsEnabled=true \ | ||
APPLICATIONINSIGHTS_CONNECTION_STRING= \ | ||
DataHub_ENVNAME=dev \ | ||
AzureWebJobsStorage= \ | ||
AzureWebJobsDashboard= \ | ||
AzureClientId= \ | ||
AzureClientSecret= \ | ||
AzureStorageQueueConnectionString= \ | ||
DatahubServiceBus= \ | ||
DatahubMSSQLProjectConnectionString= \ | ||
AzureTenantId= \ | ||
AzureSubscriptionId= \ | ||
AzureWebJobsFeatureFlags=EnableWorkerIndexing | ||
|
||
COPY --from=build /home/site/wwwroot /home/site/wwwroot | ||
|
||
COPY . /home/site/wwwroot |