Skip to content

Commit

Permalink
Merge pull request #1487 from ssc-sp/develop
Browse files Browse the repository at this point in the history
Bug fix batch #1
  • Loading branch information
simon-wang-gc committed Dec 27, 2024
1 parent 47dab89 commit 1346f0d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions ResourceProvisioner/src/ResourceProvisioner_PyFunctions/Dockerfile
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

0 comments on commit 1346f0d

Please sign in to comment.