Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

node-gyp rebuild error ubuntu 20.04

FROM bcgovimages/von-image:py36-1.6-8

USER root

# Install nodejs
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN apt-get install -y 
        nodejs 
        build-essential

USER indy

WORKDIR $HOME

RUN mkdir nodejs
WORKDIR nodejs

ENV LD_LIBRARY_PATH=$HOME/.local/lib:/usr/local/lib:/usr/lib

# Get the dependencies loaded first - this makes rebuilds faster
COPY --chown=indy:indy package.json .
RUN npm install

# Copy rest of the app
COPY --chown=indy:indy . .
RUN chmod uga+x scripts/* bin/*

CMD [ "npm", "start" ]

EXPOSE 8000
Comment

PREVIOUS NEXT
Code Example
Shell :: -windows run script on program close 
Shell :: change jdk version archlinux 
Shell :: view branches not merged with master 
Shell :: pip install apyori 
Shell :: npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! node-pty-prebuilt@0.7.6 install: `prebuild-install || node scripts/install.js` 
Shell :: fast backup mac 
Shell :: delete git local branch 
Shell :: add yarn package globally 
Shell :: android emulator for ubuntu 
Shell :: aws code commit Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights 
Shell :: install lazydocker 
Shell :: ubuntu extract zip 
Shell :: zsh wait for user input 
Shell :: find mtime rm 
Shell :: git remove submodule 
Shell :: how to use nano instead of vi 
Shell :: get file until match without including 
Shell :: montar pasta compartilhada virtualbox 
Shell :: gnome terminator 
Shell :: phoenix install 
Shell :: how to convert 30fps to 60fps using ffmpeg 
Shell :: concat two txt 
Shell :: apache2 default page 
Shell :: raspberry remote 
Shell :: fake commit date 
Shell :: git local branch track remote 
Shell :: how to delete github repo 
Shell :: cs50 docs 
Shell :: pushing an existing repository from cmd 
Shell :: add my current project to an already existing GitHub repository 
ADD CONTENT
Topic
Content
Source link
Name
6+2 =