Skip to content

Database diagrams editor that allows you to visualize and design your DB with a single query.

Added Dockerfile and configured vite config

Varad Gupta7d0ce6358766
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 00000000..4516b56f
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,13 @@
+FROM node:18
+
+WORKDIR /usr/src/app
+
+COPY package.json ./
+
+RUN npm install
+
+COPY . .
+
+EXPOSE 5173
+
+CMD ["npm", "run", "dev"]
diff --git a/vite.config.ts b/vite.config.ts
index 2022b188..2b61efa4 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -10,4 +10,9 @@ export default defineConfig({
'@': path.resolve(__dirname, './src'),
},
},
+ server: {
+ host: true,
+ strictPort:true,
+ port: 5173
+ }
});