add a VOLUME for ./cache to the Dockerfile

This commit is contained in:
Robert Dyer
2024-12-12 23:03:25 -06:00
parent c8e286be89
commit 59e6d7e2a4
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -43,6 +43,8 @@ ENV BITCOIN_PRICE_URL="https://api.kraken.com/0/public/Ticker?pair=xbtusd"
ENV BITCOIN_PRICE_JSON_PATH="result.XXBTZUSD.c[0]"
ENV BITCOIN_PAYEE_NAME="Bitcoin Price Change"
VOLUME ./cache
# Copy the current directory contents into the container at /usr/src/app
COPY --chown=node:node . .