mirror of
https://github.com/chartdb/chartdb.git
synced 2026-05-02 15:49:32 -05:00
Added Dockerfile and configured vite config
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
FROM node:18
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY package.json ./
|
||||
|
||||
RUN npm install
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 5173
|
||||
|
||||
CMD ["npm", "run", "dev"]
|
||||
@@ -10,4 +10,9 @@ export default defineConfig({
|
||||
'@': path.resolve(__dirname, './src'),
|
||||
},
|
||||
},
|
||||
server: {
|
||||
host: true,
|
||||
strictPort:true,
|
||||
port: 5173
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user