getting-started/app/Dockerfile
Adolfo Delorenzo c9337417ae Dockerfile
2021-09-07 17:11:20 -06:00

8 lines
169 B
Docker

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