Skip to content

Commit

Permalink
fix: what the fuck are you doing in there GET BACK INTO ROOT AAAAAAAAAAA
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Jul 22, 2024
1 parent e05207a commit 8df5502
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/runtime:7.0 AS base
FROM mcr.microsoft.com/dotnet/runtime:8.0 AS base
WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
WORKDIR /src
COPY ["EmbedBot/EmbedBot.csproj", "EmbedBot/"]
RUN dotnet restore "EmbedBot/EmbedBot.csproj"
Expand All @@ -10,7 +10,7 @@ WORKDIR "/src/EmbedBot"
RUN dotnet build "EmbedBot.csproj" -c Release -o /app/build

FROM build AS publish
RUN dotnet publish "EmbedBot.csproj" -c Release -o /app/publish
RUN dotnet publish "EmbedBot.csproj" -c Release -o /app/publish /p:UseAppHost=false

FROM base AS final
WORKDIR /app
Expand Down
18 changes: 0 additions & 18 deletions EmbedBot/Dockerfile

This file was deleted.

4 changes: 2 additions & 2 deletions EmbedBot/EmbedBot.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
</ItemGroup>

<ItemGroup>
<Content Include="..\.dockerignore">
<Link>.dockerignore</Link>
<Content Include="..\Dockerfile">
<Link>Dockerfile</Link>
</Content>
</ItemGroup>

Expand Down

0 comments on commit 8df5502

Please sign in to comment.