getting-started/app/Dockerfile

6 lines
144 B
Docker
Raw Normal View History

FROM node:12-alpine
RUN apk add --no-cache python g++ make
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]