Skip to content

npm issue when running 'compose build' #38

@JLeeVance

Description

@JLeeVance

I am eager to apply for the Developer position with DataMade! I ran into an issue with the commands to compose the build.

File
Dockerfile

Issue/Error Encountered
$ RUN npm install
Error Code: 'npm not found'

Possible Solution
After some research, I attempted to hardwire the npm install from the top of the Dockerfile. Adding the update into the top of the script was successful in composing the build, thus allowing me to begin the CC. Below is the implemented code!

code
RUN apt-get update && \
apt-get install -y curl && \
curl -L https://deb.nodesource.com/setup_14.x | bash - && \
apt-get install -y nodejs && \
apt-get install -y npm

I am eager to get started on the CC and hope to speak with your team in the future. Keep up the work y'all are doing, because it is inspiring!

  • Jay Vance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions