FROM node:12-alpine does not work

Change to FROM node:alpine works
This commit is contained in:
Paul Hermans 2021-07-12 16:37:13 +02:00 committed by GitHub
parent 13386236e4
commit c4192563a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ see a few flaws in the Dockerfile below. But, don't worry! We'll go over them.
1. Create a file named `Dockerfile` in the same folder as the file `package.json` with the following contents.
```dockerfile
FROM node:12-alpine
FROM node:alpine
RUN apk add --no-cache python g++ make
WORKDIR /app
COPY . .