fix on 'Our application' tutorial for Apple silicon

This commit is contained in:
SosukeHosokawa 2021-11-24 01:24:18 +09:00
parent 42f8dbe70c
commit 5c1574e643

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