Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
boogiedk committed Dec 11, 2023
1 parent 546a246 commit 80ef8a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ WORKDIR /src
COPY ["SerfBot/SerfBot.fsproj", "SerfBot/"]
RUN dotnet restore "SerfBot/SerfBot.fsproj"
COPY . .

COPY /home/root/appsettings.json /app/appsettings.json

WORKDIR "/src/SerfBot"
RUN dotnet build "SerfBot.fsproj" -c Release -o /app/build

Expand All @@ -16,7 +19,4 @@ RUN dotnet publish "SerfBot.fsproj" -c Release -o /app/publish
FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
RUN ls -l /home/
RUN ls -l /home/root/appsettings.json
COPY /home/root/appsettings.json /app/appsettings.json
ENTRYPOINT ["dotnet", "SerfBot.dll"]

0 comments on commit 80ef8a5

Please sign in to comment.