diff --git a/.gitignore b/.gitignore
index 94aa54b..f7375e2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -404,3 +404,5 @@ FodyWeavers.xsd
developer-settings.json
publish.zip
src/FunctionApp.Isolated/dev_secrets/sendimage.json
+
+__azurite_db_*.json
\ No newline at end of file
diff --git a/infra/functions.bicep b/infra/functions.bicep
index f60d063..caafe33 100644
--- a/infra/functions.bicep
+++ b/infra/functions.bicep
@@ -117,6 +117,7 @@ resource functionApp 'Microsoft.Web/sites@2023-12-01' = {
defaultDocuments: []
linuxFxVersion: 'DOTNET-ISOLATED|8.0'
phpVersion: null
+ netFrameworkVersion: 'v8.0'
use32BitWorkerProcess: false
ftpsState: 'Disabled'
minTlsVersion: '1.2'
@@ -163,6 +164,10 @@ resource functionApp 'Microsoft.Web/sites@2023-12-01' = {
name: 'FUNCTIONS_WORKER_RUNTIME'
value: 'dotnet-isolated'
}
+ {
+ name: 'WEBSITE_USE_PLACEHOLDER_DOTNETISOLATED'
+ value: '1'
+ }
{
name: 'APPINSIGHTS_INSTRUMENTATIONKEY'
value: reference(applicationInsights.id, '2015-05-01').InstrumentationKey
diff --git a/src/FunctionApp.Isolated/FunctionApp.Isolated.csproj b/src/FunctionApp.Isolated/FunctionApp.Isolated.csproj
index d3512d5..11ecd36 100644
--- a/src/FunctionApp.Isolated/FunctionApp.Isolated.csproj
+++ b/src/FunctionApp.Isolated/FunctionApp.Isolated.csproj
@@ -6,8 +6,11 @@
enable
enable
DiscordImagePoster.FunctionApp.Isolated
+ linux-x64
+ true
+