Skip to content

Fix Dockerfile BUILD_CONFIGURATION environment variable interpolation #44

@coderabbitai

Description

@coderabbitai

Description

The Dockerfile currently uses the literal string 'BUILD_CONFIGURATION' instead of interpolating the environment variable value in the dotnet publish command.

Current Issue

RUN dotnet publish "./OsmoDoc.API.csproj" -c BUILD_CONFIGURATION -o /app/out

Required Fix

RUN dotnet publish "./OsmoDoc.API.csproj" -c $BUILD_CONFIGURATION -o /app/out

Context

This issue was identified during PR review but deferred to a separate PR to keep the current PR focused on the DocumentService to OsmoDoc renaming.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions