Update Dockerfile to no longer require python, make, etc.

Signed-off-by: Michael Irwin <mikesir87@gmail.com>
This commit is contained in:
Michael Irwin 2022-11-22 22:13:47 -05:00
parent 893c0c1bd5
commit 1d79efa7fa
No known key found for this signature in database
GPG Key ID: 8C42FBB0E482C8CF

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:18-alpine
# Adding build tools to make yarn install work on Apple silicon / arm64 machines
RUN apk add --no-cache python2 g++ make
RUN apk add --no-cache python3
WORKDIR /app
COPY . .
RUN yarn install --production