update frontend docker deploy
Some checks failed
Build & Deploy Costco Grocery List / build (push) Successful in 33s
Build & Deploy Costco Grocery List / deploy (push) Has been cancelled

enforce eol management
This commit is contained in:
Nico 2025-11-26 14:55:05 -08:00
parent d868c57cfd
commit cf947efe5a
5 changed files with 8 additions and 6 deletions

3
.editorconfig Normal file
View File

@ -0,0 +1,3 @@
[*]
end_of_line = lf
insert_final_newline = true

View File

@ -62,7 +62,7 @@ jobs:
docker build \
-t $REGISTRY/frontend:${{ github.sha }} \
-t $REGISTRY/frontend:latest \
-f frontend/Dockerfile frontend/
-f frontend/Dockerfile.dev frontend/
- name: Push Frontend Image
run: |

View File

@ -10,6 +10,7 @@
"source.organizeImports": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"files.eol": "\n",
// ============================
// JS / TS behavior
@ -61,5 +62,6 @@
"**/node_modules": false,
"**/*.log": true,
"**/dist": true
}
},
}

View File

@ -1,6 +1,4 @@
# FROM node:20-alpine
FROM node:20-slim
# FROM node:20
WORKDIR /app

View File

@ -12,7 +12,6 @@ import PrivateRoute from "./utils/PrivateRoute.jsx";
import RoleGuard from "./utils/RoleGuard.jsx";
console.log("VITE_ALLOWED_HOSTS:", import.meta.env.VITE_ALLOWED_HOSTS);
function App() {
return (