-
Notifications
You must be signed in to change notification settings - Fork 10
[BUG] Docker image exits immediately after creation #32
Comments
I have experienced the same issue. For me, deleting the poetry.lock file before building the docker solved this issue. |
Thanks so much for sharing that workaround and for identifying the culprit. Hopefully it's an easy bug fix. From the python-poetry documentation "the
I'm off, see explanation below. |
The poetry lock file is to ensure the dependencies are correctly configured in your environment as it is in my environment. I’m not entirely sure why deleting the lock file solves this problem. the package I recently learned something about poetry. The
When i was installing dependencies, there was some issue that caused a non-zero exit code related to the configuration of the project. This command would ensure the I found a fix for this and will be implementing it here in the coming days. in the coming days i’ll be making some github actions to build and publish the image to ghcr.io so you dont have to build the image yourselves, preventing issues like this.
This is unrelated to the lock file. The dockerfile contains this line:
Which retrieves the latest version of the chromedriver/chrome combination every time the image is built. This note was originally for the zip file included in the github release, as this was targeted at windows desktop usage. The zip file came. bundled with an installation of chrome and a compatible chromedriver, which i did not update. |
That's great information, thanks for clarifying and I appreciate the work/fix! |
Updated the main branch.
MSRF can now be deployed using the following compose file:
or by pulling Also, thanks for pointing out the problem with the This error would not show in the build, and would kind of be "invisible" in execution. |
Initial testing and bug is fixed for me. I appreciate the compose + prebuilt image, excellent work! version: "3.9"
services:
msrf:
container_name: msrf
image: ghcr.io/thearyadev/msrf:latest
environment:
- TZ=America/Toronto
ports:
- '50947:50947' # external:internal
volumes:
- /opt/appdata/msrf/accounts:/msrf/accounts # directory which should contain the accounts.sqlite file.
restart: unless-stopped I'll test with account, etc., but initial tests are looking great! |
by default it waits 24 hours before running again. I'll do some testing and let you know if I need more info soon. I haven't explicitly tested the dependency changes so that is likely causing an issue. we can continue using this gh issue. Thanks for the feedback. |
Describe the bug
The image is successfully created but exits immediately. Using docker to deploy on Ubuntu server.
Expected behavior
Docker install works and webUI is accessible via IP:port
Version Number
0.8b
Error Report
docker ps -a
docker logs msrf-msrf-1
The text was updated successfully, but these errors were encountered: