Skip to content

Commit b0a77de

Browse files
committed
fix: Update Dockerfile to specify runtime for dependency restoration
- Modified the `dotnet restore` command to include the `--runtime linux-x64` option for better compatibility with the target environment.
1 parent 6f3955d commit b0a77de

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ COPY src/ClaudeCodeProxy.Abstraction/*.csproj ./src/ClaudeCodeProxy.Abstraction/
4343
COPY src/ClaudeCodeProxy.Domain/*.csproj ./src/ClaudeCodeProxy.Domain/
4444
COPY src/Provide/ClaudeCodeProxy.EntityFrameworkCore.Sqlite/*.csproj ./src/Provide/ClaudeCodeProxy.EntityFrameworkCore.Sqlite/
4545

46-
# Restore dependencies
47-
RUN dotnet restore
46+
# Restore dependencies for linux-x64 runtime
47+
RUN dotnet restore --runtime linux-x64
4848

4949
# Copy source code
5050
COPY src/ ./src/

0 commit comments

Comments
 (0)