Skip to content

Commit

Permalink
Fix docker build on rpi (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
benfl3713 authored Feb 11, 2024
1 parent b8a77f0 commit 804d8a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ RUN echo "<Config><RealTimeTrainsToken>$RTT_Token</RealTimeTrainsToken></Config>

# Generate runtime image
FROM mcr.microsoft.com/dotnet/aspnet:6.0
COPY --from=build-env /app/DepartureBoardWeb/deploy .
WORKDIR /app
COPY --from=build-env /app/DepartureBoardWeb/deploy /app
EXPOSE 80
ENTRYPOINT ["dotnet", "DepartureBoardWeb.dll"]

0 comments on commit 804d8a8

Please sign in to comment.