diff --git a/Dockerfile b/Dockerfile index 0ec1646..9196fbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,7 @@ RUN groupadd -r satnogs \ && install -d -m 755 -o satnogs -g satnogs /var/run/celery COPY requirements.txt /usr/local/src/satnogs-db/ +ARG SATNOGS_DECODERS_VERSION RUN pip install \ --no-cache-dir \ --no-deps \ diff --git a/docker-compose.yml b/docker-compose.yml index ea3f8eb..3072be2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,8 @@ services: celery: build: context: '.' + args: + SATNOGS_DECODERS_VERSION: '$SATNOGS_DECODERS_VERSION' depends_on: - 'db' - 'redis' @@ -41,6 +43,8 @@ services: web: build: context: '.' + args: + SATNOGS_DECODERS_VERSION: '$SATNOGS_DECODERS_VERSION' image: 'satnogs-db' ports: - '8000:8000'