Allow annoNet migrations on restricted PostgreSQL
This commit is contained in:
parent
b6e6e9cc38
commit
59047e5072
@ -4,6 +4,10 @@ WORKDIR /src
|
||||
COPY annonet-arrowstack-ready.zip /tmp/annonet.zip
|
||||
RUN unzip -q /tmp/annonet.zip -d /src
|
||||
COPY mcpAuthMiddleware.js /src/src/auth/mcpAuthMiddleware.js
|
||||
# Arrowstack's database-per-tenant runtime role intentionally cannot install
|
||||
# extensions. PostgreSQL 13+ provides gen_random_uuid() in core, and annoNet
|
||||
# does not use any other pgcrypto functions.
|
||||
RUN sed -i '/^CREATE EXTENSION IF NOT EXISTS pgcrypto;$/d' /src/sql/001_init.sql
|
||||
|
||||
FROM node:22-alpine AS frontend-build
|
||||
WORKDIR /build/frontend-astro
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user