建立與使用青島大學JudgeBackend的docker映像檔
Step1)從https://github.com/QingdaoU/OnlineJudge下載Backend程式碼。
#git clone https://github.com/QingdaoU/OnlineJudge.git
#cd OnlineJudge
Step2)Dockerfile內包含如何連結Frontend(https://github.com/QingdaoU/OnlineJudgeFE)
建立docker的映像檔
#docker build . -t oj/backend:v1
Step3)修改docker-compose.yml測試是否可以正常使用
oj-backend:
image: oj:backend:v1
container_name: oj-backend
#docker-compose up -d