This commit is contained in:
Eduardo Fernández
2021-05-15 20:08:09 -04:00
committed by GitHub

View File

@@ -40,7 +40,7 @@ see a few flaws in the Dockerfile below. But, don't worry! We'll go over them.
FROM node:12-alpine FROM node:12-alpine
RUN apk add --no-cache python g++ make RUN apk add --no-cache python g++ make
WORKDIR /app WORKDIR /app
COPY . . COPY . /
RUN yarn install --production RUN yarn install --production
CMD ["node", "src/index.js"] CMD ["node", "src/index.js"]
``` ```