Skip to content

Commit

Permalink
Handle Unix signals in FwHeadless container
Browse files Browse the repository at this point in the history
Should make for cleaner shutdown and restart on deployment
  • Loading branch information
rmunn committed Oct 31, 2024
1 parent dee6a10 commit d4107c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/FwHeadless/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ RUN chmod +x Mercurial/hg && chmod +x Mercurial/chg >/dev/null || true
RUN sed -i -e 's/fixutf8 = \/FwHeadless/fixutf8 = \/app/' Mercurial/mercurial.ini
USER www-data:www-data
ENV XDG_DATA_HOME=/var/www/.local/share
ENTRYPOINT ["dotnet", "FwHeadless.dll"]
ENTRYPOINT ["tini", "--"]
CMD ["dotnet", "FwHeadless.dll"]

0 comments on commit d4107c1

Please sign in to comment.