Merge pull request #226 from SosukeHosokawa/master
fix on 'Our Application' tutorial for Apple silicon
This commit is contained in:
commit
56890c941a
@ -39,7 +39,7 @@ 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
|
||||||
# Adding build tools to make yarn install work on Apple silicon / arm64 machines
|
# 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
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN yarn install --production
|
RUN yarn install --production
|
||||||
|
Loading…
Reference in New Issue
Block a user