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

* removed npm-repo address

* removed unused react packages
parent d064bb80
No related merge requests found
Pipeline #22 failed with stages
in 29 seconds
......@@ -5,9 +5,6 @@ stages:
- build_image
- publish_image
variables:
npm_config_registry: https://docker.ub.intern.uni-leipzig.de/npm
npm_install:
stage: build_app
image: node:8-alpine
......
FROM library/node:8-alpine
VOLUME ["/data"]
EXPOSE 3000
ENV npm_config_registry=https://docker.ub.intern.uni-leipzig.de/npm \
data_dir=/data \
ENV data_dir=/data \
NODE_ENV=production \
APP_VERSION=1.0.9
APP_VERSION=1.0.10
COPY dacap-${APP_VERSION}.tgz /tmp/
RUN npm install -g /tmp/dacap-${APP_VERSION}.tgz
CMD chown node:node -R ${data_dir} && su node -c dacap
\ No newline at end of file
This diff is collapsed.
{
"name": "dacap",
"version": "1.0.9",
"version": "1.0.10",
"description": "proxies,compresses and caches api-requests",
"main": "bin/dacap",
"bin": {
......@@ -37,11 +37,8 @@
"debug": "^3.0.1",
"express": "^4.15.4",
"js-object-pretty-print": "^0.3.0",
"node-cache": "^4.1.5",
"node-cache": "github:useltmann/nodecache#master",
"q": "^1.5.0",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-proxy-loader": "^0.3.5",
"request": "^2.81.0",
"rxjs": "^5.4.3",
"zone.js": "^0.8.17"
......@@ -55,8 +52,6 @@
"@types/mocha": "^2.2.42",
"@types/node": "^8.0.25",
"@types/node-cache": "^4.1.0",
"@types/react": "^16.0.5",
"@types/react-dom": "^15.5.4",
"@types/request": "^2.0.3",
"@types/should": "^11.2.0",
"angular2-template-loader": "^0.6.2",
......
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