Skip to content

Commit

Permalink
chore(config): change to port 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
chok-watcharathep committed May 11, 2024
1 parent 0d0dab4 commit ecca239
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ COPY . .

RUN npm run build

EXPOSE 80
EXPOSE 8080

CMD [ "npm", "run", "preview" ]
6 changes: 3 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ export default defineConfig({
base: "/",
plugins: [react()],
preview: {
port: 80,
port: 8080,
strictPort: true,
},
server: {
port: 80,
port: 8080,
strictPort: true,
host: true,
origin: "http://0.0.0.0:80",
origin: "http://0.0.0.0:8080",
},
})

0 comments on commit ecca239

Please sign in to comment.