|
|
@ -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
|
|
|
|