2 Commits

Author SHA1 Message Date
5b5500f6ac Usando npm ci
All checks were successful
Creates a docker image for production / Build the docker image (push) Successful in 48s
2025-02-05 11:56:28 -03:00
88ab3f9b33 🔧 (package.json): Update REACT_APP_API_URL in build script to point to the new API endpoint
All checks were successful
Creates a docker image for production / Build the docker image (push) Successful in 54s
2025-02-05 11:05:43 -03:00
3 changed files with 3 additions and 3 deletions

2
.env
View File

@@ -1,2 +1,2 @@
SKIP_PREFLIGHT_CHECK=true SKIP_PREFLIGHT_CHECK=true
REACT_APP_API_URL=http://127.0.0.1:8000 REACT_APP_API_URL=https://api.mines.makecodes.dev

View File

@@ -4,7 +4,7 @@ WORKDIR /app
COPY package*.json /app/ COPY package*.json /app/
RUN npm install RUN npm ci
COPY ./ /app/ COPY ./ /app/

View File

@@ -71,7 +71,7 @@
}, },
"scripts": { "scripts": {
"start": "node scripts/start.js", "start": "node scripts/start.js",
"build": "REACT_APP_API_URL=https://minesapi.makecodes.dev node scripts/build.js", "build": "REACT_APP_API_URL=https://api.mines.makecodes.dev node scripts/build.js",
"test": "node scripts/test.js" "test": "node scripts/test.js"
}, },
"eslintConfig": { "eslintConfig": {