Skip to content

Docker image appears to not contain latest version #1717

@mattdy

Description

@mattdy

I'm using the following Docker Compose file to expose bin collection data internally on my Docker Swarm:

version: '3.7'

services:
  api:
    image: robbrad182/uk-bin-collection:latest
    networks:
      - caddy
    deploy:
      labels:
        caddy: [redacted]
        caddy.reverse_proxy: "{{upstreams 8080}}"

networks:
  caddy:
    external: true

When I enter into the container and navigate to /usr/local/lib/python3.14/site-packages/uk_bin_collection/uk_bin_collection/councils it appears the files are from much older versions. For example, the current CrawleyBoroughCouncil.py starts:

import time

import requests
from dateutil.relativedelta import relativedelta

Whereas the version within my container starts:

from bs4 import BeautifulSoup
from dateutil.relativedelta import relativedelta

This would seem to be confirmed by the following inside the container:

/usr/local/lib/python3.14/site-packages # ls -l | grep uk_bin
drwxr-xr-x    4 root     root          4096 Nov  9 00:27 uk_bin_collection
drwxr-xr-x    2 root     root          4096 Nov  9 00:27 uk_bin_collection-0.107.0.dist-info

Any help would be appreciated, happy to provide additional debug information if that would be beneficial. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions