chore: changed target of hopp-old-backend service to prod

This commit is contained in:
Balu Babu
2024-03-19 13:35:34 +05:30
committed by Andrew Bastin
parent 1b19b8aed5
commit a3e6bae032
2 changed files with 2 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ services:
build: build:
dockerfile: packages/hoppscotch-backend/Dockerfile dockerfile: packages/hoppscotch-backend/Dockerfile
context: . context: .
target: dev target: prod
env_file: env_file:
- ./.env - ./.env
restart: always restart: always
@@ -122,7 +122,7 @@ services:
- PORT=3000 - PORT=3000
volumes: volumes:
# Uncomment the line below when modifying code. Only applicable when using the "dev" target. # Uncomment the line below when modifying code. Only applicable when using the "dev" target.
- ./packages/hoppscotch-backend/:/usr/src/app # - ./packages/hoppscotch-backend/:/usr/src/app
- /usr/src/app/node_modules/ - /usr/src/app/node_modules/
depends_on: depends_on:
hoppscotch-db: hoppscotch-db:

View File

@@ -26,7 +26,6 @@ export class TeamCollectionController {
@Query('take') take: string, @Query('take') take: string,
@Query('skip') skip: string, @Query('skip') skip: string,
) { ) {
console.log('searchQuery', searchQuery);
const res = await this.teamCollectionService.searchByTitle( const res = await this.teamCollectionService.searchByTitle(
searchQuery, searchQuery,
teamID, teamID,