Skip to content

Commit

Permalink
⚙ Setting(#28): Vite 기본 PORT 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
bluetree7878 committed Sep 30, 2024
1 parent d7846fc commit 4b94ed2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN npm install
COPY . .

# Vite 기본 포트 노출
EXPOSE 5173
EXPOSE 3000

# Vite 개발 서버 실행
CMD ["npm", "run", "dev"]
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import react from '@vitejs/plugin-react-swc';
export default defineConfig({
server: {
host: '0.0.0.0',
port: 3000,
},
plugins: [react()],
});

0 comments on commit 4b94ed2

Please sign in to comment.