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