Updated launch scripts
This commit is contained in:
+2
-2
@@ -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
@@ -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
|
||||
|
||||
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
npm run build
|
||||
npm run preview
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user