Skip to content

Commit

Permalink
Add runit to the services/bsky Dockerfile (#2254)
Browse files Browse the repository at this point in the history
add runit to the services/bsky Dockerfile
  • Loading branch information
Jacob2161 authored Feb 29, 2024
1 parent 82380b0 commit 2e08b69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion services/bsky/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ WORKDIR services/bsky
# Uses assets from build stage to reduce build size
FROM node:20.11-alpine

RUN apk add --update dumb-init
# dumb-init is used to handle signals properly.
# runit is installed so it can be (optionally) used for logging via svlogd.
RUN apk add --update dumb-init runit


# Avoid zombie processes, handle signal forwarding
ENTRYPOINT ["dumb-init", "--"]
Expand Down

0 comments on commit 2e08b69

Please sign in to comment.