trigger.dev 3.0.0-beta.1 → 3.0.0-beta.10

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,20 @@
1
- FROM node:20-alpine@sha256:bf77dc26e48ea95fca9d1aceb5acfa69d2e546b765ec2abfb502975f1a2d4def AS base
1
+ FROM node:20-bookworm-slim@sha256:d4cdfc305abe5ea78da7167bf78263c22596dc332f2654b662890777ea166224 AS base
2
2
 
3
- RUN apk add --no-cache dumb-init
3
+ ENV DEBIAN_FRONTEND=noninteractive
4
+ RUN apt-get update && apt-get install -y --no-install-recommends \
5
+ busybox \
6
+ dumb-init \
7
+ openssl \
8
+ && rm -rf /var/lib/apt/lists/*
4
9
 
10
+ # Create and set workdir with appropriate permissions
11
+ RUN mkdir /app && chown node:node /app
5
12
  WORKDIR /app
6
13
 
7
14
  # copy all the files just in case anything is needed in postinstall
8
15
  COPY --chown=node:node . .
16
+
17
+ USER node
9
18
  RUN npm ci --no-fund --no-audit && npm cache clean --force
10
19
 
11
20
  # Development or production stage builds upon the base stage