You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Purpose
Switching the default model from davinci to turbo because davinci was
depreciated on July 6th and you can no longer deploy with it.
## Does this introduce a breaking change?
[ ] Yes
[X ] No
## Pull Request Type
What kind of change does this Pull Request introduce?
[X ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:
```
## How to Test
* Get the code
```
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
```
* Test the code
<!-- Add steps to run the tests suite and/or manually test -->
```
```
## What to Check
Verify that the following are valid
* ...
## Other Information
<!-- Add any other helpful information that may be needed here. -->
---------
Co-authored-by: Scott Hunter <[email protected]>
Co-authored-by: Jon Gallant <[email protected]>
Copy file name to clipboardExpand all lines: app/Dockerfile
+3-5
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#See https://aka.ms/customizecontainer to learn how to customize your debug container and how Visual Studio uses this Dockerfile to build your images for faster debugging.
2
2
3
-
FROM--platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
3
+
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
4
4
WORKDIR /app
5
5
EXPOSE 80
6
6
EXPOSE 443
@@ -14,12 +14,10 @@ COPY ["shared/", "shared/"]
14
14
RUN dotnet restore "backend/MinimalApi.csproj"
15
15
16
16
WORKDIR"/src/backend"
17
-
RUN dotnet build "MinimalApi.csproj" -c Release -o /app/build
18
-
19
17
FROM build AS publish
20
-
RUN dotnet publish "MinimalApi.csproj" -c Release -o /app/publish /p:UseAppHost=false
0 commit comments