Anatomy of a Docker File

I have yet found the explanation of a Docker File. What do these commands in the Docker docker file in the web site’s tutorial mean?
((from Part 1: Containerize an application | Docker Docs))

FROM node:18-alpine
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]
EXPOSE 3000

At the end of the tutorial, you can find a link to the Dockerfile reference where the instructions are explained

1 Like