-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
|
||
cd SpringPlayground/springSpotifyPlayList | ||
|
||
|
||
# FE | ||
|
||
sudo snap install docker | ||
|
||
|
||
sudo docker build -t my-frontend . | ||
|
||
|
||
sudo docker run -d -p 8080:8080 my-frontend | ||
|
||
sudo docker run -it my-frontend /bin/sh | ||
|
||
|
||
sudo docker logs <container_id> | ||
|
||
|
||
|
||
sudo docker ps -a | ||
|
||
sudo docker images | ||
|
||
|
||
|
||
|
||
# clean | ||
|
||
sudo docker rm -f $(sudo docker ps -aq) | ||
# Remove all images | ||
sudo docker rmi -f $(sudo docker images -q) | ||
# remove all containers in docker | ||
sudo docker rm -f $(sudo docker ps -a -q) | ||
# remove all images in docker | ||
sudo docker rmi -f $(sudo docker images -q -a) | ||
|
||
|
||
# BE | ||
|
||
|
||
# ALL |