fix on 'Our application' tutorial for Apple silicon
This commit is contained in:
parent
42f8dbe70c
commit
5c1574e643
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user