This pull request updates the Dockerfile in the repository to ensure a correct installation of the Docker container.
The original tutorial was written with the intent of helping users get started with containers using Docker Desktop. However, to avoid potential errors related to incompatible node and python versions, this pull request modifies the Dockerfile as follows:
# syntax=docker/dockerfile:1
FROM node:18-alpine
RUN apk add --no-cache python3 g++ make
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]
This pull request updates the Dockerfile in the repository to ensure a correct installation of the Docker container.
The original tutorial was written with the intent of helping users get started with containers using Docker Desktop. However, to avoid potential errors related to incompatible node and python versions, this pull request modifies the Dockerfile as follows: