From 412e24b1e3eb23d0dc74f94b742a360a8555c5e2 Mon Sep 17 00:00:00 2001 From: rugk Date: Mon, 29 Sep 2025 12:31:32 +0200 Subject: [PATCH] Add VOLUME to Dockerfile (#208) Notes/exposes the intended volumes as per best practices. See https://docs.docker.com/build/building/best-practices/#volume --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 19ba420..a9ef1b2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -31,6 +31,8 @@ RUN mkdir -p /db /conf \ && ln -s /conf /fredy/conf EXPOSE 9998 +VOLUME /db +VOLUME /conf # Start application using PM2 runtime CMD ["pm2-runtime", "index.js"]