Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ jobs:
sudo docker stop embitips_front || true
sudo docker rm embitips_front || true
sudo docker pull ${{ secrets.DOCKER_USERNAME }}/embitips_front
sudo docker run -d -p 3000:3000 --name embitips_front ${{ secrets.DOCKER_USERNAME }}/embitips_front
sudo docker run -d -p 5173:5173 --name embitips_front ${{ secrets.DOCKER_USERNAME }}/embitips_front
sudo docker image prune -f
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ COPY . .

RUN npm run build

EXPOSE 3000
EXPOSE 5173

# 🚀 컨테이너를 계속 유지하도록 추가
CMD ["npm", "run", "start"]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build": "vite build --mode production",
"lint": "eslint .",
"preview": "vite preview",
"start": "vite --port 3000 --mode production"
"start": "vite --port 5173 --mode production"
},
"dependencies": {
"@tailwindcss/vite": "^4.0.3",
Expand Down
1 change: 0 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export default defineConfig(({ mode }: { mode: string }) => {
find: "@/constants",
replacement: path.resolve(__dirname, "src/constants")
},

{
find: "@/libs",
replacement: path.resolve(__dirname, "src/libs")
Expand Down