Specify Project In Dockerfile
This commit is contained in:
parent
562c5d26a8
commit
4dafd4a538
@ -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/sodoff.csproj -c Release -o /app
|
||||||
|
|
||||||
# move mods and assets directors from sources to /app
|
# move mods and assets directors from sources to /app
|
||||||
RUN mv src/mods /app && ln -s /app/mods src/
|
RUN mv src/mods /app && ln -s /app/mods src/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user