fix: boot with tini to correctly reap subprocesses and avoid zombies (#258)
This commit is contained in:
parent
c05aa8d5bf
commit
90f2c0ac06
1 changed files with 4 additions and 2 deletions
|
|
@ -3,7 +3,9 @@ ARG BUN_VERSION="1.3.5"
|
|||
FROM oven/bun:${BUN_VERSION}-alpine AS base
|
||||
|
||||
RUN apk upgrade --no-cache && \
|
||||
apk add --no-cache davfs2=1.6.1-r2 openssh-client fuse3 sshfs
|
||||
apk add --no-cache davfs2=1.6.1-r2 openssh-client fuse3 sshfs tini
|
||||
|
||||
ENTRYPOINT ["/sbin/tini", "-s", "--"]
|
||||
|
||||
|
||||
# ------------------------------
|
||||
|
|
@ -64,7 +66,7 @@ CMD ["bun", "run", "dev"]
|
|||
# ------------------------------
|
||||
# PRODUCTION
|
||||
# ------------------------------
|
||||
FROM oven/bun:${BUN_VERSION} AS builder
|
||||
FROM oven/bun:${BUN_VERSION}-alpine AS builder
|
||||
|
||||
ARG APP_VERSION=dev
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue