-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
in Dockerfile update node version 12 to 18 and remove bower
Dockerfile : NODE_ALPINE_VERSION 12 -> 18, node:12-alpine -> 18, drop : npm install bower and bower install
- Loading branch information
1 parent
d802eb1
commit d2192e4
Showing
1 changed file
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,12 @@ | |
|
||
# samtools build layer is based on https://hub.docker.com/r/bschiffthaler/samtools/dockerfile | ||
|
||
ARG NODE_ALPINE_VERSION 12 | ||
ARG NODE_ALPINE_VERSION 18 | ||
|
||
# ${NODE_ALPINE_VERSION} | ||
FROM node:12-alpine as node-alpine-build-samtools | ||
FROM node:18-alpine as node-alpine-build-samtools | ||
|
||
ARG NODE_ALPINE_VERSION 12 | ||
ARG NODE_ALPINE_VERSION 18 | ||
ARG SAMTOOLS_VERSION=1.15.1 | ||
ARG BUILD_NCPU=1 | ||
|
||
|
@@ -74,10 +74,10 @@ WORKDIR / | |
#------------------------------------------------------------------------------- | ||
|
||
# ${NODE_ALPINE_VERSION} | ||
FROM node:12-alpine as node-alpine-pretzel | ||
FROM node:18-alpine as node-alpine-pretzel | ||
|
||
ARG PRETZEL_VERSION 2.15.0 | ||
ARG NODE_ALPINE_VERSION 12 | ||
ARG NODE_ALPINE_VERSION 18 | ||
|
||
# node-sass version is selected so that the binary can be downloaded; | ||
# otherwise, node-gyp will be built, and hence the following dependencies on python, make, c++. | ||
|
@@ -105,8 +105,7 @@ RUN apk add --no-cache git \ | |
terminus-font \ | ||
curl \ | ||
jq \ | ||
openssh \ | ||
&& npm install bower -g | ||
openssh | ||
|
||
|
||
# ------------------------------------------------------------------------------ | ||
|
@@ -167,7 +166,7 @@ RUN date \ | |
|
||
|
||
RUN node --version | ||
RUN cd /frontend && (npm ci || npm install) && bower install --allow-root | ||
RUN cd /frontend && (npm ci || npm install) | ||
|
||
# RUN cd /app && npm install [email protected] && npm ci | ||
|
||
|
@@ -177,7 +176,6 @@ RUN ( [ ! -L /app/client ] || rm /app/client ) && \ | |
mv /frontend/dist /app/client \ | ||
&& cd / \ | ||
&& rm -rf /frontend \ | ||
&& npm uninstall -g bower \ | ||
&& npm cache clean --force | ||
|
||
ENV EMAIL_VERIFY=NONE AUTH=ALL | ||
|
@@ -187,7 +185,7 @@ ENTRYPOINT ["/usr/local/node16/bin/node", "/app/lb3app/server/server.js"] | |
|
||
# ------------------------------------------------------------------------------ | ||
|
||
ARG NODE_ALPINE_VERSION 12 | ||
ARG NODE_ALPINE_VERSION 18 | ||
ARG SAMTOOLS_VERSION=1.15.1 | ||
ARG bcftoolsVer=1.15.1 | ||
ARG PRETZEL_VERSION 2.15.0 | ||
|