This commit is contained in:
Eduardo Fernández 2021-05-15 20:08:09 -04:00 committed by GitHub
commit 40448b0f39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"]
``` ```