From 1ebf1da076a993be60734d7019ae9a8d98b8c97a Mon Sep 17 00:00:00 2001 From: Erazor2 Date: Mon, 17 Jan 2022 18:47:32 +0000 Subject: Added Env-Var for State-Directory --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 64c3cea..eab5f53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,8 @@ COPY app ./app COPY --from=builder /metube/dist/metube ./ui/dist/metube ENV DOWNLOAD_DIR /downloads +ENV STATE_DIR /state VOLUME /downloads -VOLUME /queue +VOLUME /state EXPOSE 8081 CMD ["python3", "app/main.py"] -- cgit