dockerfile volume statement is relative of / not of workdir

This commit is contained in:
Lamp 2021-08-21 18:47:19 -07:00
parent 2c166ecdb2
commit 6926e6c7e5

@ -2,5 +2,5 @@ FROM node:latest
ADD . /app
WORKDIR /app
RUN npm ci
VOLUME data
VOLUME /app/data
CMD ["node", "main.js"]