In the docker tutorial I'm following it tells me to put the following commands in my Dockerfile:
# syntax=docker/dockerfile:1
FROM node:12-alpine
RUN apk add --no-cache python2 g++ make
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]
I understand what all of the lines are doing, except for:
RUN apk add --no-cache python2 g++ make
And everything seems to work without it. Can I delete this line from my Dockerfile? Will deleting this line cause problems for me down the road? Why do I need anything "python" in this node project?