Does not run in Docker.
Opened this issue · 0 comments
TristanGrobler commented
What I did.
- Pulled the repo from git.
- ran: dart pub get
- ran: dart_frog build
- ran: cd build
- ran: docker build -t test-api .
- Opened Docker Desktop and located the image but I get the following error . . .
2024-01-19 06:07:34 Unhandled exception:
2024-01-19 06:07:34 Invalid argument(s): Failed to load dynamic library '/app/bin/libisar.so': /app/bin/libisar.so: cannot open shared object file: No such file or directory
2024-01-19 06:07:34 #0 _open (dart:ffi-patch/ffi_dynamic_library_patch.dart:11)
2024-01-19 06:07:34 #1 new DynamicLibrary.open (dart:ffi-patch/ffi_dynamic_library_patch.dart:22)
2024-01-19 06:07:34 #2 _initializePath (package:isar/src/native/isar_core.dart:92)
2024-01-19 06:07:34 #3 initializeCoreBinary (package:isar/src/native/isar_core.dart:75)
2024-01-19 06:07:34 #4 Isar.initializeIsarCore (package:isar/src/isar.dart:309)
2024-01-19 06:07:34 #5 init (file:///app/main.dart:12)
2024-01-19 06:07:34 #6 main (file:///app/bin/server.dart:21)
2024-01-19 06:07:34 #7 _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297)
2024-01-19 06:07:34 #8 _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)