-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor working directory and add resource group creation in azure-d…
…eploy-image-test.yml
- Loading branch information
Showing
3 changed files
with
36 additions
and
0 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
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,19 @@ | ||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine | ||
|
||
# if you use databases, these lines need to be uncommented | ||
RUN apk add --no-cache icu-libs | ||
ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false | ||
|
||
# if you depend on timezones, these lines need to be uncommented | ||
# RUN apk add --no-cache tzdata | ||
# ENV TZ=Europe/Oslo | ||
|
||
WORKDIR /app | ||
COPY ["./Bouvet.Developer.Survey.Api/Bouvet.Developer.Survey.Api.csproj", "Bouvet.Developer.Survey.Api/"] | ||
COPY ["./Bouvet.Developer.Survey.Domain/Bouvet.Developer.Survey.Domain.csproj", "Bouvet.Developer.Survey.Domain/"] | ||
COPY ["./Bouvet.Developer.Survey.Infrastructure/Bouvet.Developer.Survey.Infrastructure.csproj", "Bouvet.Developer.Survey.Infrastructure/"] | ||
COPY ["./Bouvet.Developer.Survey.Service/Bouvet.Developer.Survey.Service.csproj", "Bouvet.Developer.Survey.Service/"] | ||
|
||
USER app | ||
EXPOSE 8080 | ||
ENTRYPOINT ["dotnet", "Bouvet.Developer.Survey.Api.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
targetScope='subscription' | ||
|
||
param resourceGroupName string | ||
param resourceGroupLocation string | ||
|
||
resource newRG 'Microsoft.Resources/resourceGroups@2024-03-01' = { | ||
name: resourceGroupName | ||
location: resourceGroupLocation | ||
} |