nest new project-name
FROM node:16-alpine
WORKDIR /app
COPY package*.json ./
RUN npm ci
CMD ["npm", "run", "start:dev"]
version: '3.9'
services:
node:
container_name: node
build:
context: .
volumes:
- .:/app
- /app/node_modules
ports:
- 3000:3000
restart: always