From f0062ce56543f25e5adaf8d32ae32d038fa1084d Mon Sep 17 00:00:00 2001 From: Yitao Xiong Date: Thu, 24 Sep 2020 16:10:03 -0400 Subject: [PATCH] Attempt to fix the issue with static assets --- docker-stack.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/docker-stack.yml b/docker-stack.yml index d2ea290..332aaca 100644 --- a/docker-stack.yml +++ b/docker-stack.yml @@ -77,6 +77,7 @@ services: image: hb1412/auth:latest volumes: - auth-static:/code/static + command: sh -c "rm -rf /code/static/* && cp -r /app" deploy: restart_policy: condition: any