Compare commits

...

3 Commits

Author SHA1 Message Date
bbuchanan9 c6ab0ef31b squash: update Dockerfile to successfully build 2019-06-28 13:25:23 -07:00
bbuchanan9 c4ca6ab874 squash: use node 8 base image 2019-06-28 12:58:08 -07:00
bbuchanan9 11af70d2d5 squash: install git in Dockerfile 2019-06-28 12:56:02 -07:00
1 changed files with 5 additions and 1 deletions

View File

@ -1,11 +1,15 @@
FROM node:6-slim
FROM node:8-slim
WORKDIR /usr/src/app
COPY package.json /usr/src/app
RUN apt-get update \
&& apt-get install git -y \
&& apt-get install -y jq --no-install-recommends \
&& apt install build-essential -y \
&& apt-get install python -y \
&& apt-get install g++ -y \
&& npm install --production \
&& rm -rf /var/lib/apt/lists/* \
&& npm cache clear --force \