Add support for both wasm/ffi version of sqlite3

This commit is contained in:
2024-01-21 20:35:36 +08:00
parent ae43c53299
commit 4d886cb85a
12 changed files with 117 additions and 14 deletions

View File

@@ -91,6 +91,7 @@ ENV PATH=/app/bin:$PATH
RUN deno task fetch && deno task server-build && mkdir -p ./thumbnails && chmod 777 ./thumbnails && mkdir -p ./downloads && chmod 777 ./downloads && mkdir -p ./data && chmod 777 ./data
ENV DENO_DEPLOYMENT_ID=${DENO_DEPLOYMENT_ID}
ENV DOCKER=true
ENV DB_USE_FFI=true
EXPOSE 8000
ENTRYPOINT ["/tini", "--", "deno", "task", "server"]