Compare commits

...

1 Commits

Author SHA1 Message Date
Alexander Chan 85b2736202 ZENKO-2503: update dockerfile 2020-04-28 21:32:54 +00:00
1 changed files with 3 additions and 2 deletions

View File

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