diff --git a/Dockerfile b/Dockerfile index f97d5f2..82cfd43 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,4 +8,4 @@ RUN npm install COPY . . -CMD ["npm", "run", "start"] \ No newline at end of file +CMD ["npm", "run", "start:dev"] diff --git a/README.md b/README.md index 42ca79e..b1f7913 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ ### Запуск проекта - ```docker build -t .``` -- ```docker run --rm --name -v $(pwd)/src/:/var/www/trust-module/src -v $(pwd)/public/:/var/www/trust-module/public -p : :latest``` +- ```docker run --rm --name -v $(pwd)/src/:/app/src -p : :latest``` diff --git a/src/metrics.controller.ts b/src/metrics.controller.ts index 00fd055..acf26da 100644 --- a/src/metrics.controller.ts +++ b/src/metrics.controller.ts @@ -20,4 +20,4 @@ export class MetricsController { async getAllMetricsWithValues() { return this.prometheusService.fetchAllMetricsWithValues(); } -} \ No newline at end of file +}