Specify Project In Dockerfile

This commit is contained in:
Alan Moon 2026-09-03 11:06:03 -07:00
parent 62fbe68b45
commit 0e7ad05e67

View File

@ -6,7 +6,7 @@ WORKDIR /src
COPY . . COPY . .
# Restore dependencies and build the application # Restore dependencies and build the application
RUN dotnet build -c Release -o /app RUN dotnet build src/sodoffmmo.csproj -c Release -o /app
# Create clean run environment (without source and sdk) # Create clean run environment (without source and sdk)
# FROM mcr.microsoft.com/dotnet/runtime:9.0 AS base # FROM mcr.microsoft.com/dotnet/runtime:9.0 AS base