Specify Project In Dockerfile
This commit is contained in:
parent
62fbe68b45
commit
0e7ad05e67
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user