aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorLibravatar Santhosh C <csesanthosh15@gmail.com>2022-04-26 20:52:11 +0530
committerLibravatar GitHub <noreply@github.com>2022-04-26 15:22:11 +0000
commitedc3945b216f2c5bc0f7982138e6936490ab0628 (patch)
tree77ee53764d16c5c2d774b14a1e97ec7b0b95f4cb /Dockerfile
parentFix issue with incorrect branch in the 'recipes' git submodule (diff)
downloadferdium-server-edc3945b216f2c5bc0f7982138e6936490ab0628.tar.gz
ferdium-server-edc3945b216f2c5bc0f7982138e6936490ab0628.tar.zst
ferdium-server-edc3945b216f2c5bc0f7982138e6936490ab0628.zip
update node version to 16.14.2 (#7)
* Update dependencies (node, npm and node-gyp) to be coherent with Ferdium-App * Update 'recipes' submodule Co-authored-by: André Oliveira <oliveira.andrerodrigues95@gmail.com> Co-authored-by: Vijay A <vraravam@users.noreply.github.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 7e7750c..e823cf9 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,14 +1,15 @@
1FROM node:14.17-alpine as build 1FROM node:16.14-alpine as build
2 2
3WORKDIR /server-build 3WORKDIR /server-build
4 4
5RUN ["apk", "add", "--no-cache", "python", "make", "gcc", "g++", "libc-dev", "sqlite-dev"] 5RUN ["apk", "add", "--no-cache", "python3", "make", "gcc", "g++", "libc-dev", "sqlite-dev"]
6 6
7COPY . /server-build 7COPY . /server-build
8 8
9RUN npm i -g npm@8.7.0
9RUN ["npm", "ci", "--production", "--build-from-source", "--sqlite=/usr/local"] 10RUN ["npm", "ci", "--production", "--build-from-source", "--sqlite=/usr/local"]
10 11
11FROM node:14.17-alpine 12FROM node:16.4-alpine
12 13
13WORKDIR /app 14WORKDIR /app
14LABEL maintainer="ferdium" 15LABEL maintainer="ferdium"