-
clone this project
git clone git@github.com:CST-ClientServer/cs-assignment1a.git -
Enter to the card-game-client folder
-
Run npm install
npm i -
Running the project in dev
npm run dev
-
pull latest docker image
docker pull devjasper0906/card-game-tomcat:1.2.1 -
check image id
docker images -
Run as tomcat
docker run -d -i -t --name tomcat -p 8081:8080 [image id] -
Make sure the container up
docker ps -
Should Accessible to
http://localhost:8081
