test
This commit is contained in:
@@ -6,12 +6,8 @@ COPY package.json .
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npm i -g serve
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD [ "serve", "-s", "dist", "-l", "3000" ]
|
||||
CMD ["npm", "run", "build"]
|
||||
|
@@ -12,7 +12,7 @@ export default defineConfig({
|
||||
server: {
|
||||
port: 3000,
|
||||
strictPort: true,
|
||||
host: '127.0.0.1',
|
||||
host: true,
|
||||
origin: "http://0.0.0.0:3000",
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user