Merge pull request #226 from SosukeHosokawa/master

fix on 'Our Application' tutorial for Apple silicon
This commit is contained in:
Stefan Scherer 2021-12-02 18:25:08 +01:00 committed by GitHub
commit 56890c941a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ see a few flaws in the Dockerfile below. But, don't worry! We'll go over them.
```dockerfile
FROM node:12-alpine
# Adding build tools to make yarn install work on Apple silicon / arm64 machines
RUN apk add --no-cache python3 g++ make
RUN apk add --no-cache python2 g++ make
WORKDIR /app
COPY . .
RUN yarn install --production