From 4e408d110d636ac1d107af188613fefe2170d0f1 Mon Sep 17 00:00:00 2001 From: Minghan Zhang <112773885+zmh-program@users.noreply.github.com> Date: Tue, 23 Jul 2024 18:02:55 +0800 Subject: [PATCH] chore: define volumes in dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 40612a99..297694cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,6 +51,9 @@ COPY --from=backend /backend/utils/templates /utils/templates COPY --from=backend /backend/addition/article/template.docx /addition/article/template.docx COPY --from=frontend /app/dist /app/dist +# Volumes +VOLUME ["/config", "/logs", "/storage"] + # Expose port EXPOSE 8094