Implement cache bust

This commit is contained in:
Olusesan Ameye
2023-05-10 03:37:31 +00:00
parent 33209e7db1
commit 8da9b82c83
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -17,6 +17,8 @@ RUN apt -y install rapidjson-dev libboost-all-dev
# DEBUG
RUN apt -y install gdb strace vim postgresql-client-13
ARG CACHEBUST=1
ADD wrenchboard/scripts/* /usr/local/bin/
ADD wrenchboard/configs/* /cfgs/
+2
View File
@@ -5,6 +5,8 @@ services:
image: registry.chiefsoft.net/wrenchboard-backend-php74:latest
build:
context: ./
args:
- CACHEBUST=${CACHEBUST:-1}
dockerfile: Dockerfile
hostname: wrenchboard-backend-php74
container_name: wrenchboard-backend-php74