Commit 851e2b6e authored by Tobinsk's avatar Tobinsk
Browse files

Merge branch '11-update-node-to-10' into 'master'

Resolve "update node to 10"

Closes #11

See merge request histhub/wikidata-normalizer!22
parents d2bb8494 91739361
FROM node:10-alpine
FROM node:10-slim
# add basic libs
RUN apk --no-cache add \
RUN apt-get update && apt-get install -y \
bash \
g++ \
gcc \
ca-certificates \
lz4-dev \
musl-dev \
cyrus-sasl-dev \
openssl-dev \
make \
python \
bash \
git
RUN apk add --no-cache --virtual .build-deps gcc zlib-dev libc-dev bsd-compat-headers py-setuptools libexecinfo libexecinfo-dev
# Create app directory
RUN mkdir -p /usr/local/app
......@@ -24,12 +19,12 @@ WORKDIR /usr/local/app
# copy app to the container
COPY package.json package-lock.json config.json tsconfig.json /usr/local/app/
COPY src /usr/local/app/src
COPY test/ /usr/local/app/test
# Install dependencies
RUN npm install
COPY src /usr/local/app/src
COPY test/ /usr/local/app/test
# build stuff
RUN npm run build
......
This diff is collapsed.
......@@ -17,11 +17,10 @@
"dependencies": {
"@types/chai-as-promised": "^7.1.0",
"@types/node": "^9.6.48",
"@types/winston": "^2.4.4",
"bunyan-format": "^0.2.1",
"chai-as-promised": "^7.1.1",
"concurrently": "^3.6.1",
"geolinker-common": "git+https://gitlab+deploy-token-1:vnsdCm_t84QGVA2U4kw4@source.dodis.ch/histhub/geolinker-common.git#1.1.1",
"geolinker-common": "git+https://gitlab+deploy-token-1:vnsdCm_t84QGVA2U4kw4@source.dodis.ch/histhub/geolinker-common.git",
"julian-gregorian": "^1.0.0",
"juliandate": "^1.0.0",
"momentjs": "^2.0.0",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment