Commit 0562f490 authored by Mele's avatar Mele
Browse files

fixed frontend

parent 7bd13781
# frontend/Dockerfile
FROM node:latest
WORKDIR /app
# Nur package.json + lockfile kopieren
COPY package*.json ./
# Installiere ALLE Abhängigkeiten – inkl. vue-chartjs & chart.js
RUN npm install
# Jetzt den Rest des Projekts kopieren
COPY . .
EXPOSE 5173
CMD ["npm", "run", "dev"]
\ No newline at end of file
This diff is collapsed.
......@@ -18,8 +18,8 @@
"vue-router": "^4.5.0"
},
"devDependencies": {
"@tsconfig/node22": "^22.0.1",
"@types/node": "^22.14.0",
"@tsconfig/node22": "^22.0.2",
"@types/node": "^22.15.29",
"@vitejs/plugin-vue": "^5.2.3",
"@vue/eslint-config-prettier": "^10.2.0",
"@vue/eslint-config-typescript": "^14.5.0",
......
......@@ -15,4 +15,8 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url))
},
},
server: {
host: true, // Oder: '0.0.0.0'
port: 5173,
}
})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment