getting-started/app/Dockerfile

7 lines
175 B
Docker
Raw Normal View History

2021-06-10 12:49:05 +00:00
# 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"]