mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-28 22:00:51 +00:00
♻️export driver in Dockerfile
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user