Skip to content

Commit

Permalink
Docker: Split Node.js installation into two commands
Browse files Browse the repository at this point in the history
  • Loading branch information
czlee committed Jul 21, 2019
1 parent 0bd01d1 commit 0aec882
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ ENV PYTHONUNBUFFERED 1
# Setup Node/NPM
RUN apt-get update
RUN apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash && apt-get install -y nodejs
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash -
RUN apt-get install -y nodejs

# Copy all our files into the baseimage and cd to that directory
RUN mkdir /tcd
Expand Down

0 comments on commit 0aec882

Please sign in to comment.