mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-24 20:05:39 -04:00
[GH-ISSUE #202] Docker Container cannot be started in offline environment #102
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @useless-bit on GitHub (Aug 22, 2025).
Original GitHub issue: https://github.com/Drop-OSS/drop/issues/202
When I start the latest drop docker container with the example from the getting started page, it tries to connect and download a file: https://binaries.prisma.sh/all_commits/f40f79ec31188888a2e33acda0ecc8fd10a853a9/linux-musl-openssl-3.0.x/libquery_engine.so.node.gz.sha256
docker compose logs drop:
Would it be possible to allow Drop to work in an offline environment?
@DecDuck commented on GitHub (Aug 22, 2025):
Yeah absolutely.
Drop does not require an internet connection itself, but, as it hints, the ORM needs to download a binary in order to function.
As far as I see it, you could:
@useless-bit commented on GitHub (Aug 22, 2025):
Thanks for the reply.
I did some testing, and it seems that adding
RUN pnpm prisma initbefore the copy steps in the last stage in the Dockerfile will add the required files for the nodejs-alpine container.I would create a PR with this change if it would be an acceptable solution.
@DecDuck commented on GitHub (Aug 22, 2025):
That sounds good
Docker Container cannot be started in offline environmentto [GH-ISSUE #202] Docker Container cannot be started in offline environment