Add runit to the services/bsky Dockerfile ()

add runit to the services/bsky Dockerfile
This commit is contained in:
Jake Gold 2024-02-29 14:16:50 -08:00 committed by GitHub
parent 82380b03a8
commit 2e08b691bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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", "--"]