Skip to content

restart container tries to install packages again #28

Description

@hemna

I have a custom sopel module that I wrote and am using this container to run sopel.
When I restart the container, it tries to re-install my package that I have specified in EXTRA_PYPI_PACKAGES=sopel-modules.tableflip

That results in an error starting the container.
this container should only try to install packages on first run, not on restarts.

pewp    | Installing collected packages: sopel-modules-tableflip
pewp    | ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/home/sopel/.local/lib/python3.8/site-packages/sopel_modules.tableflip-0.1.2-py3.8-nspkg.pth'
pewp    | Check the permissions.
pewp    |
pewp    | FAILED!
pewp exited with code 1```

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions