Skip to content

Commit ebd72c2

Browse files
authored
Merge pull request #23 from blaybus-piro/refactor#20
Refactor(#20) network problem solved
2 parents 1bd7d9f + 8243427 commit ebd72c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COPY . .
1616
# Vite 애플리케이션 빌드
1717
RUN npm run build
1818

19-
# 3000번 포트 노출 (Vite의 경우 기본적으로 5173이지만, 빌드 후 정적 파일은 80 포트에서 제공)
19+
# 5173번 포트 노출 (Vite의 경우 기본적으로 5173이지만, 빌드 후 정적 파일은 80 포트에서 제공)
2020
EXPOSE 5173
2121

2222
# npm start 스크립트 실행

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.0",
55
"type": "module",
66
"scripts": {
7-
"dev": "vite",
7+
"dev": "vite --host",
88
"build": "tsc -b && vite build",
99
"lint": "eslint .",
1010
"preview": "vite preview"

0 commit comments

Comments
 (0)