특정 환경만 포함하는 Container
Dockerfile
FROM node:14-alpine
WORKDIR /app
ENTRYPOINT [ "npm" ]
Source
docker run -it [Image Id | Name] -v [local path]:/app init
docker run -it [Image Id | Name] -v [local path]:/app install express
docker compose run --rm