Skip to content

Commit 49198ac

Browse files
Update Dockerfile
1 parent ba46808 commit 49198ac

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ COPY tests/api.tests.csproj ./tests/
1414
COPY Hello.sln ./
1515
RUN dotnet restore
1616

17+
1718
COPY . .
1819
WORKDIR /src
1920
RUN dotnet build -c $BUILD_CONFIGURATION -o /app/build
@@ -25,4 +26,4 @@ RUN dotnet publish -c $BUILD_CONFIGURATION -o /app/publish /p:UseAppHost=false
2526
FROM base AS runtime
2627
WORKDIR /app
2728
COPY --chown=app --from=publish /app/publish .
28-
ENTRYPOINT ["dotnet", "api.core.dll"]
29+
ENTRYPOINT ["dotnet", "api.core.dll"]

0 commit comments

Comments
 (0)