Skip to content

Commit

Permalink
change ports
Browse files Browse the repository at this point in the history
  • Loading branch information
RNR1 committed Jan 15, 2025
1 parent 0dc4471 commit fceca10
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"openFiles": ["README.md"]
}
},
"forwardPorts": [3000],
"forwardPorts": [5173],
"postCreateCommand": "yarn install",
"remoteUser": "node"
}
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:3000",
"url": "http://localhost:5173",
"webRoot": "${workspaceFolder}/src"
}
]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ Note that `core hours per month` means each core on your codespace consumes inde
Starting the development server...
```
1. Navigate to localhost:3000 on your browser.
1. Navigate to localhost:5173 on your browser.
## Recommended Development Tools
Expand Down
10 changes: 5 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ services:
build: .
stdin_open: true
ports:
- '3000:3000'
- '5173:5173'
entrypoint: bash -c "yarn install && yarn start"
volumes:
- '.:/usr/src/app'
bash:
build: .
ports:
- '3000:3000'
- '5173:5173'
stdin_open: true
entrypoint: /bin/bash
volumes:
Expand All @@ -19,8 +19,8 @@ services:
build: .
entrypoint: bash -c "yarn build"
environment:
CI: "false"
CI: 'false'
VITE_DB_URL:
volumes:
- "./docker/build:/usr/src/app/build"
- "./docker/testResults:/usr/src/app/testResults"
- './docker/build:/usr/src/app/build'
- './docker/testResults:/usr/src/app/testResults'
4 changes: 1 addition & 3 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@ export default defineConfig(() => ({
outDir: 'build',
target: 'es2022'
},
server: {
port: 3000
},

plugins: [
react(),
tsconfigPaths({ allowJS: true }),
Expand Down

0 comments on commit fceca10

Please sign in to comment.