♻️export driver in Dockerfile

This commit is contained in:
Fred KISSIE
2025-11-21 06:17:14 +01:00
parent 261f0333b8
commit 380e062d25

View File

@@ -11,7 +11,7 @@ RUN npm ci
COPY . .
RUN echo "export * from \"./$DATABASE\";" > server/db/index.ts
RUN echo "export * from \"./$DATABASE\";\nexport const driver: \"pg\" | \"sqlite\" = \"$DATABASE\";" > server/db/index.ts
RUN echo "export const build = \"$BUILD\" as any;" > server/build.ts