Add VOLUME to Dockerfile (#208)

Notes/exposes the intended volumes as per best practices.

See https://docs.docker.com/build/building/best-practices/#volume
This commit is contained in:
rugk
2025-09-29 12:31:32 +02:00
committed by GitHub
parent 0a5785fa1a
commit 412e24b1e3

View File

@@ -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"]