feat(CORE/docker): cachebust for the client data

This commit is contained in:
Yehonal
2022-11-07 17:30:00 +01:00
parent 9dbadbd6d9
commit e0313219e3
3 changed files with 3 additions and 0 deletions

View File

@@ -283,6 +283,7 @@ ENV DATAPATH=/azerothcore/env/dist/data
ENV DATAPATH_ZIP=/tmp/data.zip
RUN mkdir -p "$DATAPATH"
ARG CACHEBUST=1
RUN --mount=type=bind,target=/azerothcore-temp,readwrite --mount=type=cache,target=/azerothcore/env/dist/data /azerothcore-temp/acore.sh client-data && chown -R $DOCKER_USER:$DOCKER_USER /azerothcore
USER $DOCKER_USER