Rough character selection screen + API

This commit is contained in:
2025-12-24 00:00:24 -06:00
parent 9a56091e8e
commit d9eededbfa
169 changed files with 5643 additions and 189 deletions
+21
View File
@@ -0,0 +1,21 @@
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
WORKDIR /src
# Copy project file first to take advantage of Docker layer caching
COPY ["CharacterApi.csproj", "./"]
RUN dotnet restore "CharacterApi.csproj"
# Copy the remaining source and publish
COPY . .
RUN dotnet publish "CharacterApi.csproj" -c Release -o /app/publish /p:UseAppHost=false
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS final
WORKDIR /app
COPY --from=build /app/publish .
ENV ASPNETCORE_URLS=http://+:8080 \
ASPNETCORE_ENVIRONMENT=Production
EXPOSE 8080
ENTRYPOINT ["dotnet", "CharacterApi.dll"]