From 0c44e16663f5e71375c593d3c466d0a103add114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Cadenas?= <77900120+andrrsin@users.noreply.github.com> Date: Sat, 27 Apr 2024 18:14:52 +0200 Subject: [PATCH] deploy fix --- .vscode/launch.json | 2 +- docker-compose.yml | 2 +- webapp/package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 3372b4a..f6b35a0 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -8,7 +8,7 @@ "type": "chrome", "request": "launch", "name": "Launch Chrome against localhost", - "url": "http://localhost:80", + "url": "http://localhost:3000", "webRoot": "${workspaceFolder}" } ] diff --git a/docker-compose.yml b/docker-compose.yml index 82d4331..0a64eff 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -85,7 +85,7 @@ services: depends_on: - gatewayservice ports: - - "80:80" + - "3000:3000" # platform: linux/arm64 diff --git a/webapp/package.json b/webapp/package.json index be7abce..40eef9d 100644 --- a/webapp/package.json +++ b/webapp/package.json @@ -24,7 +24,7 @@ "scripts": { "start": "react-scripts start", "build": "react-scripts build ", - "prod": "serve -s build -p 80", + "prod": "serve -s build", "test": "react-scripts test --transformIgnorePatterns 'node_modules/(?!axios)/'", "test:e2e": "start-server-and-test 'node e2e/test-environment-setup.js' http://localhost:8000/health prod 3000 \"cd e2e && jest\"", "eject": "react-scripts eject"