Browse Source
Merge pull request #486 from promasu/master
Update Node to v12 in Dockerfile
master
ansuz
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
Dockerfile
|
|
@ -1,5 +1,5 @@ |
|
|
# We use multi stage builds |
|
|
# We use multi stage builds |
|
|
FROM node:10-stretch-slim AS build |
|
|
|
|
|
|
|
|
FROM node:12-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:10-stretch-slim |
|
|
|
|
|
|
|
|
FROM node:12-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 |
|
|
|