Skip to content

Commit 4c3f25e

Browse files
committed
Simplify COPY commands to keep the proper structure
1 parent e40989b commit 4c3f25e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ WORKDIR /src
55
ARG NUGET_API_KEY
66

77
# Copy the project files first for better layer caching (if only code changes)
8-
COPY *.sln ./
9-
COPY Gateway.* ./Gateway/
10-
COPY Api.* ./Api/
8+
COPY . ./
119

1210
# Add the custom NuGet source
1311
RUN dotnet nuget add source https://nuget.pkg.github.com/trumpee/index.json --name github --username trumpee --password $NUGET_API_KEY --store-password-in-clear-text

0 commit comments

Comments
 (0)