Added volume to MongoDB container.

This commit is contained in:
Daniel
2022-06-21 23:10:48 +04:30
parent 020225a40b
commit 8ae1389728
4 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ WORKDIR /home/node
VOLUME /home/node/node_modules
COPY package*.json .
COPY package*.json ./
RUN npm i -g npm@latest \
&& npm ci --legacy-peer-deps
&& npm ci --legacy-peer-deps