trigger.dev 3.0.0-beta.2 → 3.0.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,22 @@
1
- FROM node:20-alpine@sha256:bf77dc26e48ea95fca9d1aceb5acfa69d2e546b765ec2abfb502975f1a2d4def AS base
2
-
3
- RUN apk add --no-cache dumb-init
4
-
1
+ FROM node:21-bookworm-slim@sha256:fb82287cf66ca32d854c05f54251fca8b572149163f154248df7e800003c90b5 AS base
2
+
3
+ ENV DEBIAN_FRONTEND=noninteractive
4
+ RUN apt-get update && apt-get install -y --no-install-recommends \
5
+ busybox \
6
+ ca-certificates \
7
+ dumb-init \
8
+ git \
9
+ openssl \
10
+ && rm -rf /var/lib/apt/lists/*
11
+
12
+ # Create and set workdir with appropriate permissions
13
+ RUN mkdir /app && chown node:node /app
5
14
  WORKDIR /app
6
15
 
7
16
  # copy all the files just in case anything is needed in postinstall
8
17
  COPY --chown=node:node . .
18
+
19
+ USER node
9
20
  RUN npm ci --no-fund --no-audit && npm cache clean --force
10
21
 
11
22
  # Development or production stage builds upon the base stage