{"id":21690541,"url":"https://github.com/oli51467/kof","last_synced_at":"2025-07-26T10:39:18.987Z","repository":{"id":154681555,"uuid":"525017543","full_name":"Oli51467/kof","owner":"Oli51467","description":"JS实现简易版拳皇","archived":false,"fork":false,"pushed_at":"2022-08-15T14:27:36.000Z","size":634,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T17:12:33.063Z","etag":null,"topics":["css","docker","html","javascript","requestanimationframe"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Oli51467.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-08-15T14:25:11.000Z","updated_at":"2025-02-20T05:40:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"66cca970-3e98-430d-957f-2af81faeda23","html_url":"https://github.com/Oli51467/kof","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Oli51467/kof","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oli51467%2Fkof","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oli51467%2Fkof/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oli51467%2Fkof/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oli51467%2Fkof/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Oli51467","download_url":"https://codeload.github.com/Oli51467/kof/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Oli51467%2Fkof/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267150490,"owners_count":24043476,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","docker","html","javascript","requestanimationframe"],"created_at":"2024-11-25T17:31:47.134Z","updated_at":"2025-07-26T10:39:18.948Z","avatar_url":"https://github.com/Oli51467.png","language":"JavaScript","readme":"##### 简易版拳皇\n\n部署：\n\n1. 下载一个nginx镜像\n\n   ```\n   docker \tpull  nginx:latest\n   ```\n\n2. 在server端新建目录结构： /Projects/web/kof\n\n3. 将index.html、/static、/node_modules放到kof文件夹下\n4. 在同一文件夹下创建Dockerfile\n\n```\nsudo touch Dockerfile\n```\n\n5. 编辑Dockerfile\n\n```\nsudo vim Dockerfile\n```\n\n```\nFROM  nginx\nCOPY  /node_modules  /usr/share/nginx/html\nCOPY  /static  /usr/share/nginx/html\nCOPY  index.html   /usr/share/nginx/html\n```\n\n   将资源文件复制到nginx容器的指定文件夹下\n\n6. 制作镜像\n\n```\ndocker run -di --name=nginx -p 9091:80 -v /home/username/Projects/web/kof/:/usr/share/nginx/html nginx\n```\n\n7. 运行容器\n\n```\ndocker start nginx\n```\n\n8. 访问101.42.155.54:9091\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foli51467%2Fkof","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foli51467%2Fkof","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foli51467%2Fkof/lists"}