Skip to content

Commit 9349815

Browse files
author
yuhojae
committed
test
1 parent 516a442 commit 9349815

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

Dockerfile

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,11 @@ WORKDIR /app
44

55
COPY package.json .
66
RUN npm install
7-
8-
COPY .env.production .env.production
9-
107
COPY . .
118

129
RUN npm run build
1310

14-
RUN npm install -g serve
15-
1611
EXPOSE 3000
1712

1813
# 🚀 컨테이너를 계속 유지하도록 추가
19-
CMD ["serve", "-s", "dist", "-l", "3000"]
14+
CMD ["npm", "run", "start"]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"build": "vite build --mode production",
99
"lint": "eslint .",
1010
"preview": "vite preview",
11-
"start": "serve -s dist -l 3000"
11+
"start": "vite --port 3000 --mode production"
1212
},
1313
"dependencies": {
1414
"@tailwindcss/vite": "^4.0.3",

0 commit comments

Comments
 (0)