Skip to content

Commit

Permalink
fix run vue app in prod mode
Browse files Browse the repository at this point in the history
  • Loading branch information
yennanliu committed Oct 5, 2024
1 parent d9028fe commit 7eac64b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion springSpotifyPlayList/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ services:
- "8080:8080" # Map host port 8080 to container port 8080
volumes:
- ./frontend/spotify-playlist-ui:/app # Mount the current directory into the container
command: /bin/sh -c "npm install && npm cache clean --force && npm install --save-dev @vue/cli-service && npm run serve"
command: /bin/sh -c "npm install && npm cache clean --force && npm install --save-dev @vue/cli-service && npm run build && npm run serve -- --mode production"

0 comments on commit 7eac64b

Please sign in to comment.