Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created docker file for correct installation of docker container #397

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AndresDiagoM
Copy link

@AndresDiagoM AndresDiagoM commented May 22, 2023

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"]


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant