Update Dockerfile to no longer require python, make, etc.
Signed-off-by: Michael Irwin <mikesir87@gmail.com>
This commit is contained in:
parent
893c0c1bd5
commit
1d79efa7fa
@ -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:18-alpine
|
FROM node:18-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 python2 g++ make
|
RUN apk add --no-cache python3
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN yarn install --production
|
RUN yarn install --production
|
||||||
|
Loading…
Reference in New Issue
Block a user