From 5af6e2bfb9f04741f5746dae21f91e22ef1fa74c Mon Sep 17 00:00:00 2001 From: alexm Date: Wed, 17 Jan 2024 08:13:15 +0100 Subject: [PATCH] refs #5739 refactor: remove comments --- back/Dockerfile | 8 -------- back/tests.js | 2 -- docker-compose.local.yml | 8 -------- front/Dockerfile | 1 - loopback/locale/en.json | 3 +-- 5 files changed, 1 insertion(+), 21 deletions(-) diff --git a/back/Dockerfile b/back/Dockerfile index 69b96f0d7..fccce6fed 100644 --- a/back/Dockerfile +++ b/back/Dockerfile @@ -22,10 +22,6 @@ RUN apt-get update \ && rm -rf /var/lib/apt/lists/* RUN npm i -g gulp-cli -# RUN npm i -g bun - -# RUN apt update && apt install -y chromium-browser chromium-chromedriver -# RUN curl -fsSL https://bun.sh/install | bash WORKDIR /salix @@ -37,7 +33,6 @@ COPY \ LICENSE \ README.md \ ./ -# RUN bun --prefix ./print install ./print FROM base AS local WORKDIR /salix @@ -57,6 +52,3 @@ COPY print print COPY storage storage CMD ["npx", "gulp", "backOnly"] - - -# CMD ["node", "back/tests.js", "ci"] diff --git a/back/tests.js b/back/tests.js index f61cf543a..1f94382ac 100644 --- a/back/tests.js +++ b/back/tests.js @@ -22,8 +22,6 @@ async function test() { isCI = true; dataSources = JSON.parse(JSON.stringify(dataSources)); - // dataSources.vn.port = 3308; - // dataSources.vn.host = 'db'; const bootOptions = {dataSources}; const app = require('vn-loopback/server/server'); await new Promise((resolve, reject) => { diff --git a/docker-compose.local.yml b/docker-compose.local.yml index 729fbb3d4..2d68329b7 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -1,12 +1,5 @@ version: "3.7" services: - # node_modules: - # image: node:20-bullseye-slim - # command: sh -c "npm i gulp-cli && npm install --ci && npx gulp i" - # user: "${UID}:${GID}" - # working_dir: /salix - # volumes: - # - .:/salix db: image: db:local restart: unless-stopped @@ -47,7 +40,6 @@ services: - NODE_ENV depends_on: - db - # - node_modules volumes: - ./loopback:/salix/loopback - ./storage:/salix/storage diff --git a/front/Dockerfile b/front/Dockerfile index fa088d3d0..8062190c8 100644 --- a/front/Dockerfile +++ b/front/Dockerfile @@ -24,7 +24,6 @@ WORKDIR /salix COPY /front/gulpfile.js ./ COPY /front/webpack.config.js ./ COPY /front/package.json ./front/ -# RUN cd front && npm install --ci CMD ["npx", "gulp", "front"] diff --git a/loopback/locale/en.json b/loopback/locale/en.json index ba9acecae..b91760844 100644 --- a/loopback/locale/en.json +++ b/loopback/locale/en.json @@ -201,8 +201,7 @@ "Try again": "Try again", "keepPrice": "keepPrice", "Cannot past travels with entries": "Cannot past travels with entries", - "The notification subscription of this worker cant be modified": "The notification subscription of this worker cant be modified", "It was not able to remove the next expeditions:": "It was not able to remove the next expeditions: {{expeditions}}", "Incorrect pin": "Incorrect pin.", "The notification subscription of this worker cant be modified": "The notification subscription of this worker cant be modified" -} \ No newline at end of file +}