sirin05137 / CSE364_Project

2 stars 0 forks source link

[Note] Docker 테스트가이드 #7

Closed yuujinleee closed 3 years ago

yuujinleee commented 3 years ago

@sirin05137 @sanghun17 https://user-images.githubusercontent.com/38070937/112144431-91eaf700-8c1c-11eb-9fb8-a20a559a56d5.mp4

1. Dockerfile에서 Image 생성 & Container 생성

yujinlee@Yujins-MacBook-Pro test % docker build -t new_image_name . 
yujinlee@Yujins-MacBook-Pro test % docker run -it new_image_name 

2. (container 안에서) . run.sh 실행

root@8dbc26b821eb:~/project# . run.sh

3. java command 테스트

root@8dbc26b821eb:~/project# java -cp target/cse364-project-1.0-SNAPSHOT.jar group11.project Drama scientist
sanghun17 commented 3 years ago

I followed this test guide and confirmed that it runs successfully. :thumbsup::thumbsup: