@ -4,9 +4,10 @@ FROM node:latest
WORKDIR /usr/src/app
# Install deps
COPY package*.json ./
COPY package.json ./
COPY yarn.lock ./
RUN npm install
RUN yarn
COPY . .
@ -4,8 +4,6 @@ services:
mongo:
image: mongo:4.4
restart: always
ports:
- 27017:27017
volumes:
- ./data:/data/db