Removed 'RUN apk add --no-cache python g++ make'

This line did not appear to be necessary for the tutorial. Testing with it removed appeared to have no effect. Additionally, this line does not appear later in the tutorial when referring back to this step (see /docs/tutorial/image-building-best-practices/index.md).
This commit is contained in:
Spencer Adolph 2021-10-21 12:57:36 -05:00 committed by GitHub
parent 8511b9af07
commit acdcd83ced
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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