cmd
Browse files- build_commands.txt +8 -0
build_commands.txt
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# docker build -t <name>:<tag> -p <pathname>
|
2 |
+
# docker container run -p [host_ip]:[host_port]:[container_port]
|
3 |
+
|
4 |
+
#
|
5 |
+
docker build . -t gradio_app_demo:latest
|
6 |
+
docker images
|
7 |
+
docker run -p 8080:7860 --name gradio_app_demo image_id
|
8 |
+
docker ps
|