fix Dockerfile ...again
This commit is contained in:
parent
0e563dc58f
commit
6251d29abb
@ -2,6 +2,7 @@ FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
|
||||
WORKDIR /app
|
||||
|
||||
# Restore/fetch dependencies excluding app code to make use of caching
|
||||
COPY PluralKit.sln /app/
|
||||
COPY Myriad/Myriad.csproj /app/Myriad/
|
||||
COPY PluralKit.API/PluralKit.API.csproj /app/PluralKit.API/
|
||||
COPY PluralKit.Bot/PluralKit.Bot.csproj /app/PluralKit.Bot/
|
||||
@ -23,4 +24,4 @@ COPY --from=build /app ./
|
||||
|
||||
# Allow overriding CMD from eg. docker-compose to run API layer too
|
||||
ENTRYPOINT ["dotnet"]
|
||||
CMD ["bin/PluralKit.Bot.dll"]
|
||||
CMD ["bin/PluralKit.Bot.dll"]
|
||||
|
Loading…
Reference in New Issue
Block a user