Updated launch scripts

This commit is contained in:
Ubuntu
2025-09-15 23:00:22 +09:30
parent fe5cc6f736
commit 824291fd63
4 changed files with 6 additions and 3 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ COPY package*.json ./
# Install dependencies
RUN npm install
RUN npm install vite
# Copy the rest of the code
COPY . .
@@ -17,5 +17,5 @@ COPY . .
EXPOSE 8080
# Default command
CMD ["npm", "run", "dev"]
CMD ["sh", "-c", "/code/start_webserver.sh"]
+1 -1
View File
@@ -1,2 +1,2 @@
docker run -d --rm -v "$PWD":/code -p 8080:8080 ai-cloud-command-center
docker run -it --rm --name ai-cloud-command-center -v "$PWD":/code -v /code/node_modules -p 8080:4173 ai-cloud-command-center
+2
View File
@@ -0,0 +1,2 @@
npm run build
npm run preview
+1
View File
@@ -6,6 +6,7 @@ import { componentTagger } from "lovable-tagger";
// https://vitejs.dev/config/
export default defineConfig(({ mode }) => ({
server: {
allowedHosts: ['dashboard.xcloudify.tech'],
host: "::",
port: 8080,
proxy: {