Update dockerfile with new fsproj
This commit is contained in:
parent
48e726b3fa
commit
7585ae26b2
10
Dockerfile
10
Dockerfile
@ -8,16 +8,16 @@ COPY . .
|
||||
|
||||
RUN dotnet tool restore
|
||||
|
||||
RUN dotnet restore "PlayerInteractions/PlayerInteractions.fsproj"
|
||||
RUN dotnet restore "Bot/Bot.fsproj"
|
||||
|
||||
WORKDIR "/src/PlayerInteractions"
|
||||
WORKDIR "/src/Bot"
|
||||
|
||||
RUN dotnet build "PlayerInteractions.fsproj" -c Release -o /app/build
|
||||
RUN dotnet build "Bot.fsproj" -c Release -o /app/build
|
||||
|
||||
FROM build AS publish
|
||||
RUN dotnet publish "PlayerInteractions.fsproj" -c Release -o /app/publish
|
||||
RUN dotnet publish "Bot.fsproj" -c Release -o /app/publish
|
||||
|
||||
FROM base AS final
|
||||
WORKDIR /app
|
||||
COPY --from=publish /app/publish .
|
||||
ENTRYPOINT "./PlayerInteractions"
|
||||
ENTRYPOINT "./Bot"
|
||||
|
Loading…
x
Reference in New Issue
Block a user