Initial commit: Hedena Gold monorepo.
First commit of the Hedena Gold product (separate from gold-bank): branding, package names, and deploy defaults aligned to the new brand; legacy Henza trees stay local-only via .gitignore.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
FROM node:20-bookworm
|
||||
|
||||
# Pre-built on the developer machine:
|
||||
# pnpm build:release
|
||||
# NOTE: full "bookworm" (not -slim/-alpine) on purpose — Prisma's query engine
|
||||
# links against libssl.so.3, which the slim/alpine variants do not ship, and the
|
||||
# deploy host cannot reach apt/apk mirrors to install it.
|
||||
WORKDIR /app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
# Vendored Prisma lives in ./vendor (not node_modules — that path is gitignored)
|
||||
ENV NODE_PATH=/app/vendor
|
||||
ENV PRISMA_QUERY_ENGINE_LIBRARY=/app/vendor/.prisma/client/libquery_engine-debian-openssl-3.0.x.so.node
|
||||
|
||||
COPY release/ ./
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "app.js"]
|
||||
Reference in New Issue
Block a user