prepare for in docker test trough npmts
This commit is contained in:
		| @@ -47,7 +47,7 @@ trigger: | ||||
|   script: | ||||
|     - npmci trigger | ||||
|   only: | ||||
|     - master | ||||
|     - tags | ||||
|   tags: | ||||
|     - lossless | ||||
|     - priv | ||||
| @@ -1,3 +1,4 @@ | ||||
| FROM hosttoday/ht-docker-node:lts | ||||
| COPY ./node_modules /app-node/node_modules | ||||
| COPY ./dist /app-node/dist  | ||||
| COPY ./dist /app-node/dist | ||||
| CMD ["npmts"] | ||||
| @@ -10,8 +10,8 @@ nginx2: | ||||
|     VIRTUAL_HOST: "test101.labkomp.de" | ||||
|   restart: always | ||||
|   container_name: nginx2 | ||||
| dockersock: | ||||
|   image: "trafficimg" | ||||
| npmts-test-container: | ||||
|   image: "npmts-test-image" | ||||
|   ports: | ||||
|     - "80:80" | ||||
|     - "443:443" | ||||
| @@ -19,4 +19,4 @@ dockersock: | ||||
|     - "/var/run/docker.sock:/var/run/docker.sock" | ||||
|   env_file: "nogit/nogit.env" | ||||
|   restart: always | ||||
|   container_name: dockersock-container | ||||
|   container_name: npmts-test-container | ||||
| @@ -4,8 +4,7 @@ | ||||
|   "description": "easy communication with docker from node, TypeScript ready", | ||||
|   "main": "dist/index.js", | ||||
|   "scripts": { | ||||
|     "test": "npmts", | ||||
|     "testindocker": "bash -x ./test/testEnv.sh" | ||||
|     "test": "npmts testindocker" | ||||
|   }, | ||||
|   "repository": { | ||||
|     "type": "git", | ||||
|   | ||||
| @@ -1,4 +1,2 @@ | ||||
| npmts | ||||
| docker-machine start default; eval \"$(docker-machine env default)\" | ||||
| docker build -t dockersock-image . | ||||
| docker-compose up | ||||
		Reference in New Issue
	
	Block a user