diff --git a/bizmatch/Dockerfile b/bizmatch/Dockerfile new file mode 100644 index 0000000..8515709 --- /dev/null +++ b/bizmatch/Dockerfile @@ -0,0 +1,13 @@ +FROM node:22-alpine + +WORKDIR /app + +# GANZEN dist-Ordner kopieren, nicht nur bizmatch +COPY dist ./dist +COPY package*.json ./ + +RUN npm ci --omit=dev + +EXPOSE 4200 + +CMD ["node", "dist/bizmatch/server/server.mjs"] diff --git a/bizmatch/docker-compose.yml b/bizmatch/docker-compose.yml new file mode 100644 index 0000000..3b1a0a9 --- /dev/null +++ b/bizmatch/docker-compose.yml @@ -0,0 +1,10 @@ +services: + bizmatch-ssr: + build: . + image: bizmatch-ssr + container_name: bizmatch-ssr + restart: unless-stopped + ports: + - '4200:4200' + environment: + NODE_ENV: DEVELOPMENT diff --git a/bizmatch/src/app/pages/subscription/my-listing/my-listing.component.html b/bizmatch/src/app/pages/subscription/my-listing/my-listing.component.html index 9f3e365..c87276f 100644 --- a/bizmatch/src/app/pages/subscription/my-listing/my-listing.component.html +++ b/bizmatch/src/app/pages/subscription/my-listing/my-listing.component.html @@ -73,7 +73,7 @@ {{ listing.title }} {{ listing.listingsCategory === 'commercialProperty' ? 'Commercial Property' : 'Business' }} {{ listing.location.name ? listing.location.name : listing.location.county ? listing.location.county : this.selectOptions.getState(listing.location.state) }} - ${{ listing.price.toLocaleString() }} + ${{ listing.price ? listing.price.toLocaleString() : '' }} {{ listing.internalListingNumber ?? '—' }} diff --git a/bizmatch/src/environments/environment.dev.ts b/bizmatch/src/environments/environment.dev.ts index d2d69fb..f2991ad 100644 --- a/bizmatch/src/environments/environment.dev.ts +++ b/bizmatch/src/environments/environment.dev.ts @@ -2,4 +2,6 @@ import { environment_base } from './environment.base'; export const environment = environment_base; -environment.apiBaseUrl = 'https://api-dev.bizmatch.net'; +environment.apiBaseUrl = 'http://bizsearch.at-powan.ts.net:3001'; +environment.mailinfoUrl = 'http://bizsearch.at-powan.ts.net'; +environment.imageBaseUrl = 'http://bizsearch.at-powan.ts.net';