Merge pull request #448 from promasu/447-update-base-image-of-docker

Bump NodeJS version to 10 to fix #447
This commit is contained in:
ansuz
2019-09-24 10:09:52 +02:00
committed by GitHub

View File

@@ -1,5 +1,5 @@
# We use multi stage builds # We use multi stage builds
FROM node:6-stretch-slim AS build FROM node:10-stretch-slim AS build
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq git jq python RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq git jq python
RUN npm install -g bower RUN npm install -g bower
@@ -16,7 +16,7 @@ RUN npm install --production \
&& npm install -g bower \ && npm install -g bower \
&& bower install --allow-root && bower install --allow-root
FROM node:6-stretch-slim FROM node:10-stretch-slim
# You want USE_SSL=true if not putting cryptpad behind a proxy # You want USE_SSL=true if not putting cryptpad behind a proxy
ENV USE_SSL=false ENV USE_SSL=false