Skip to content
This repository was archived by the owner on Jun 14, 2024. It is now read-only.

Commit e0ec314

Browse files
upadhyayapAnand Upadhyay
andauthored
Moved Dockerfile and charts in Application directory (#284)
Co-authored-by: Anand Upadhyay <[email protected]>
1 parent 038d565 commit e0ec314

File tree

10 files changed

+4
-4
lines changed

10 files changed

+4
-4
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ FROM mcr.microsoft.com/dotnet/core/sdk:3.1-buster AS build-env
22
WORKDIR /app
33

44
# Copy csproj and restore as distinct layers
5-
COPY *.csproj ./
5+
COPY /aspnet-core-dotnet-core/*.csproj ./
66
RUN dotnet restore
77

88
# Copy everything else and build
9-
COPY . ./
9+
COPY /aspnet-core-dotnet-core/ ./
1010
RUN dotnet publish -c Release -o out
1111

1212
# Build runtime image
13-
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim
13+
FROM mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim
1414
WORKDIR /app
1515
COPY --from=build-env /app/out .
16-
ENTRYPOINT ["dotnet", "aspnet-core-dotnet-core.dll"]
16+
ENTRYPOINT ["dotnet", "aspnet-core-dotnet-core.dll"]

0 commit comments

Comments
 (0)