1
0
Fork 0

Invalidate Docker cache by setting argument

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
spacecruft
Vasilis Tsiligiannis 2020-11-04 10:43:26 +02:00
parent 6680a7fe12
commit 1f2dc4b75f
2 changed files with 5 additions and 0 deletions

View File

@ -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 \

View File

@ -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'