fix(docker): base image node:8-alpine and upgrade to npm6
This commit is contained in:
Родитель
cd415fbbe6
Коммит
401165f782
|
@ -1,4 +1,6 @@
|
||||||
FROM node:8.11.1-alpine
|
FROM node:8-alpine
|
||||||
|
|
||||||
|
RUN npm install -g npm@6 && rm -rf ~app/.npm /tmp/*
|
||||||
|
|
||||||
RUN addgroup -g 10001 app && \
|
RUN addgroup -g 10001 app && \
|
||||||
adduser -D -G app -h /app -u 10001 app
|
adduser -D -G app -h /app -u 10001 app
|
||||||
|
|
Загрузка…
Ссылка в новой задаче