🐛 fix Dockerfile

This commit is contained in:
Fred KISSIE
2025-11-21 06:27:13 +01:00
parent d118c6b666
commit 1b643fb4b6

View File

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