File tree Expand file tree Collapse file tree 3 files changed +20
-4
lines changed
Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 1+ docs
2+ site
3+ bug_report.md
4+ feature_request.md
5+ src
6+ tests
7+ .github
8+ .git *
9+ CODE_OF_CONDUCT.md
10+ CONTRIBUTING.md
11+ mkdocs.yml
12+ pull_request_template.md
13+ tsconfig.json
14+ Dockerfile
15+ docker-compose.yml
16+ prometheus.yml
Original file line number Diff line number Diff line change 11FROM node:alpine
22WORKDIR /app
3- RUN npm install -g camouflage-server
4- RUN camouflage init
5- CMD ["camouflage" , "--config" , "config.yml" ]
3+ COPY . .
4+ CMD ["npm" , "run" , "prod" ]
Original file line number Diff line number Diff line change 2626 "pretest:mock" : " npm run build; ts-node --project ./tests/tsconfig.json ./tests/prepare.ts" ,
2727 "test:mock" : " node bin/camouflage.js --config ./tests/config.yml" ,
2828 "test:features" : " TS_NODE_PROJECT=tests/tsconfig.json cucumber-js --require-module ts-node/register --require 'tests/features/**/*.ts' tests/features/" ,
29- "dev" : " nodemon -e ts --exec \" npm run start\" "
29+ "dev" : " nodemon -e ts --exec \" npm run start\" " ,
30+ "prod" : " node bin/camouflage.js --config ./config.yml"
3031 },
3132 "bin" : {
3233 "camouflage" : " bin/camouflage.js"
You can’t perform that action at this time.
0 commit comments