Skip to content
Snippets Groups Projects
Commit 8fe6d0f1 authored by Ulf Seltmann's avatar Ulf Seltmann
Browse files

readded custom npm registry due to insufficient git-content

parent 6140860d
No related merge requests found
Pipeline #25 passed with stages
in 2 minutes and 38 seconds
......@@ -5,6 +5,9 @@ stages:
- build_image
- publish_image
variables:
npm_config_registry: https://services.ub.uni-leipzig.de/npm
npm_install:
stage: build_app
image: node:8-alpine
......
FROM library/node:8-alpine
VOLUME ["/data"]
EXPOSE 3000
ENV data_dir=/data \
ENV npm_config_registry=https://services.ub.uni-leipzig.de/npm \
data_dir=/data \
NODE_ENV=production \
APP_VERSION=1.0.10
COPY dacap-${APP_VERSION}.tgz /tmp/
......
......@@ -14,6 +14,7 @@ services:
aliases:
- api.ub.uni-leipzig.de
environment:
- npm_config_registry=https://services.ub.uni-leipzig.de/npm
- NODE_ENV=development
- DEBUG=dacap:*
- APP_DATA_DIR=/var/lib/app
......
This diff is collapsed.
......@@ -37,7 +37,7 @@
"debug": "^3.0.1",
"express": "^4.15.4",
"js-object-pretty-print": "^0.3.0",
"node-cache": "github:useltmann/nodecache#master",
"node-cache": "^4.1.5",
"q": "^1.5.0",
"request": "^2.81.0",
"rxjs": "^5.4.3",
......
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