Merge pull request #32 from vr-varad/feat/docker-image

Add Docker image release
This commit is contained in:
Guy Ben-Aharon
2024-08-25 18:25:38 +03:00
committed by GitHub
2 changed files with 18 additions and 0 deletions

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM node:22
WORKDIR /usr/src/app
COPY package.json ./
RUN npm install
COPY . .
EXPOSE 5173
CMD ["npm", "run", "dev"]

View File

@@ -10,4 +10,9 @@ export default defineConfig({
'@': path.resolve(__dirname, './src'),
},
},
server: {
host: true,
strictPort:true,
port: 5173
}
});