mirror of
https://github.com/stripe/ai.git
synced 2026-09-14 18:39:59 +08:00
bf9c5e3444
* update workflows * move * update * update * fix license
14 lines
405 B
Docker
14 lines
405 B
Docker
# syntax=docker/dockerfile:1
|
|
# check=experimental=all
|
|
|
|
FROM node:22-alpine@sha256:9bef0ef1e268f60627da9ba7d7605e8831d5b56ad07487d24d1aa386336d1944
|
|
RUN npm install -g typescript pnpm
|
|
RUN addgroup -S group && adduser -S user -G group
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN --mount=type=cache,target=/root/.local \
|
|
pnpm install --frozen-lockfile && pnpm run build
|
|
|
|
USER user
|
|
ENTRYPOINT ["node", "/app/dist/index.js"]
|