Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Twinki14 committed Jan 27, 2024
1 parent af3b9c3 commit 95ec2ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR "/src"
COPY ["/src/Miha/Miha.csproj", "Miha/"]
COPY ["/src/Miha.Discord/Miha.Discord.csproj", "Miha.Discord/"]
COPY ["/src/Miha.Logic/Miha.Logic.csproj", "Miha.Logic/"]
COPY ["/src/Miha.Redis/Miha.Redis.csproj", "Miha.Redis/"]
COPY ["/src/Miha.Shared/Miha.Shared.csproj", "Miha.Shared/"]
COPY ["src/Miha/Miha.csproj", "Miha/"]
COPY ["src/Miha.Discord/Miha.Discord.csproj", "Miha.Discord/"]
COPY ["src/Miha.Logic/Miha.Logic.csproj", "Miha.Logic/"]
COPY ["src/Miha.Redis/Miha.Redis.csproj", "Miha.Redis/"]
COPY ["src/Miha.Shared/Miha.Shared.csproj", "Miha.Shared/"]
COPY . .
WORKDIR "/src/Miha/"
WORKDIR "src/Miha/"
RUN dotnet restore "Miha.csproj"
RUN dotnet build "Miha.csproj" -c Release -o /app/build

Expand Down

0 comments on commit 95ec2ec

Please sign in to comment.