Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Stamp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
COPY ./Protos ./Protos
COPY ./${PROJECT} ./${PROJECT}

RUN dotnet restore ${PROJECT}

Check warning on line 11 in src/Stamp.Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Surround this variable with double quotes; otherwise, it can lead to unexpected behavior.

See more on https://sonarcloud.io/project/issues?id=project-origin_stamp&issues=AZsHZk5MdRj22FcUV70W&open=AZsHZk5MdRj22FcUV70W&pullRequest=277
RUN dotnet build ${PROJECT} -c Release --no-restore -o /app/build

Check warning on line 12 in src/Stamp.Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Surround this variable with double quotes; otherwise, it can lead to unexpected behavior.

See more on https://sonarcloud.io/project/issues?id=project-origin_stamp&issues=AZsHZk5MdRj22FcUV70X&open=AZsHZk5MdRj22FcUV70X&pullRequest=277
RUN dotnet publish ${PROJECT} -c Release -o /app/publish

Check warning on line 13 in src/Stamp.Dockerfile

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Surround this variable with double quotes; otherwise, it can lead to unexpected behavior.

See more on https://sonarcloud.io/project/issues?id=project-origin_stamp&issues=AZsHZk5MdRj22FcUV70Y&open=AZsHZk5MdRj22FcUV70Y&pullRequest=277

# ------- production image -------
FROM mcr.microsoft.com/dotnet/aspnet:9.0.9-noble-chiseled-extra AS production
FROM mcr.microsoft.com/dotnet/aspnet:10.0.1-noble-chiseled-extra AS production
ARG PROJECT

ENV APPLICATION=${PROJECT}
Expand Down
Loading