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

Can you describe what is going on in Dockerfile #11

Open
kasir-barati opened this issue Apr 6, 2022 · 0 comments
Open

Can you describe what is going on in Dockerfile #11

kasir-barati opened this issue Apr 6, 2022 · 0 comments

Comments

@kasir-barati
Copy link

Hello.

I need to create a custom nodejs image but with ubuntu image. Why? because of this issue, as you suggest there you use this image to resolve your issue and I guess the same thing can resolve my issue too. But IDK What packages I should install to build a nodejs image based on ubuntu:20.04.

This is what I did:

FROM ubuntu:20.04

RUN apt-get update && apt-get upgrade

RUN apt-get install -y apt-transport-https curl

RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
    && apt-get install -y nodejs build-essential

WORKDIR /app

Do I missed anything?

I did not understand this RUN instruction and ttf-mscorefonts-installer.

@kasir-barati kasir-barati changed the title Can you describe what is going on in [Dockerfile](https://github.com/appsflare/html2pdf/blob/master/Dockerfile) Can you describe what is going on in Dockerfile Apr 6, 2022
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

No branches or pull requests

1 participant