Skip to content

Commit

Permalink
Fix container not compiling
Browse files Browse the repository at this point in the history
  • Loading branch information
Xwilarg committed Dec 3, 2024
1 parent e93936e commit 9240936
Show file tree
Hide file tree
Showing 57 changed files with 471 additions and 17 deletions.
File renamed without changes.
File renamed without changes.
22 changes: 11 additions & 11 deletions api/Euphonia.API.sln → backend/Euphonia.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.12.35209.166
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Euphonia.API", "Euphonia.API.csproj", "{04F2673A-59DE-4B3D-8B34-DD338CC1CF65}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Euphonia.API", "api\Euphonia.API.csproj", "{F003D3D5-93A5-4EB2-AFEB-78421CF68FD0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Euphonia.Common", "..\common\Euphonia.Common.csproj", "{75ACA57E-4F62-497C-AFF6-149B0E9B0E20}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Euphonia.Common", "common\Euphonia.Common.csproj", "{953FC742-C592-4DF0-B9A0-3EA9E4B904D1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{04F2673A-59DE-4B3D-8B34-DD338CC1CF65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{04F2673A-59DE-4B3D-8B34-DD338CC1CF65}.Debug|Any CPU.Build.0 = Debug|Any CPU
{04F2673A-59DE-4B3D-8B34-DD338CC1CF65}.Release|Any CPU.ActiveCfg = Release|Any CPU
{04F2673A-59DE-4B3D-8B34-DD338CC1CF65}.Release|Any CPU.Build.0 = Release|Any CPU
{75ACA57E-4F62-497C-AFF6-149B0E9B0E20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{75ACA57E-4F62-497C-AFF6-149B0E9B0E20}.Debug|Any CPU.Build.0 = Debug|Any CPU
{75ACA57E-4F62-497C-AFF6-149B0E9B0E20}.Release|Any CPU.ActiveCfg = Release|Any CPU
{75ACA57E-4F62-497C-AFF6-149B0E9B0E20}.Release|Any CPU.Build.0 = Release|Any CPU
{F003D3D5-93A5-4EB2-AFEB-78421CF68FD0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F003D3D5-93A5-4EB2-AFEB-78421CF68FD0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F003D3D5-93A5-4EB2-AFEB-78421CF68FD0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F003D3D5-93A5-4EB2-AFEB-78421CF68FD0}.Release|Any CPU.Build.0 = Release|Any CPU
{953FC742-C592-4DF0-B9A0-3EA9E4B904D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{953FC742-C592-4DF0-B9A0-3EA9E4B904D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{953FC742-C592-4DF0-B9A0-3EA9E4B904D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{953FC742-C592-4DF0-B9A0-3EA9E4B904D1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8649F153-1179-465D-89EB-ED4D083B2844}
SolutionGuid = {B28EB5AC-1B86-4716-AEFD-4C92129ACE9D}
EndGlobalSection
EndGlobal
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
11 changes: 6 additions & 5 deletions api/Dockerfile → backend/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,15 @@ EXPOSE 8081
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
ARG BUILD_CONFIGURATION=Release
WORKDIR /src
COPY ["Euphonia.API.csproj", "."]
RUN dotnet restore "./Euphonia.API.csproj"
COPY ["api/Euphonia.API.csproj", "api/"]
COPY ["common/Euphonia.Common.csproj", "common/"]
RUN dotnet restore "./api/Euphonia.API.csproj"
COPY . .
WORKDIR "/src/."
WORKDIR "/src/api"
RUN dotnet build "./Euphonia.API.csproj" -c $BUILD_CONFIGURATION -o /app/build
RUN apt-get update
RUN apt-get install -t ./app -y python3 python3-pip
RUN pip3 install --break-system-packages ffmpeg-python yt-dlp ffmpeg-normalize
RUN apt-get install -y python3 python3-pip ffmpeg yt-dlp
RUN pip3 install --break-system-packages ffmpeg-normalize

# This stage is used to publish the service project to be copied to the final stage
FROM build AS publish
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>15d1d09d-4de0-45a5-b140-535520c48b1a</UserSecretsId>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
<DockerfileContext>.</DockerfileContext>
</PropertyGroup>

<ItemGroup>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit 9240936

Please sign in to comment.