docker
This commit is contained in:
parent
93efc42517
commit
1a1fb1f18d
9 changed files with 17 additions and 62 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
|||
node_modules
|
||||
build
|
|
@ -1,13 +0,0 @@
|
|||
{
|
||||
"files": {
|
||||
"main.css": "/static/css/main.f4938759.css",
|
||||
"main.js": "/static/js/main.ee416b6e.js",
|
||||
"index.html": "/index.html",
|
||||
"main.f4938759.css.map": "/static/css/main.f4938759.css.map",
|
||||
"main.ee416b6e.js.map": "/static/js/main.ee416b6e.js.map"
|
||||
},
|
||||
"entrypoints": [
|
||||
"static/css/main.f4938759.css",
|
||||
"static/js/main.ee416b6e.js"
|
||||
]
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Document</title><script defer="defer" src="/static/js/main.ee416b6e.js"></script><link href="/static/css/main.f4938759.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
|
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"static/css/main.f4938759.css","mappings":"AAAA,mDAAc,CAAd,uBAAc,CAAd,kBAAc,CAAd,kBAAc,CAAd,aAAc,CAAd,aAAc,CAAd,aAAc,CAAd,cAAc,CAAd,cAAc,CAAd,YAAc,CAAd,YAAc,CAAd,iBAAc,CAAd,qCAAc,CAAd,6BAAc,CAAd,4BAAc,CAAd,2BAAc,CAAd,cAAc,CAAd,mBAAc,CAAd,qBAAc,CAAd,sBAAc,CAAd,uBAAc,CAAd,iBAAc,CAAd,0BAAc,CAAd,2BAAc,CAAd,yBAAc,CAAd,iCAAc,CAAd,0BAAc,CAAd,qBAAc,CAAd,6BAAc,CAAd,WAAc,CAAd,iBAAc,CAAd,eAAc,CAAd,gBAAc,CAAd,iBAAc,CAAd,aAAc,CAAd,eAAc,CAAd,YAAc,CAAd,kBAAc,CAAd,oBAAc,CAAd,0BAAc,CAAd,wBAA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izing: border-box;\n}\n\nbody {\n font-family: sans-serif;\n margin: 20px;\n padding: 0;\n}\n\nh1 {\n margin-top: 0;\n font-size: 22px;\n}\n\nh2 {\n margin-top: 0;\n font-size: 20px;\n}\n\nh3 {\n margin-top: 0;\n font-size: 18px;\n}\n\nh4 {\n margin-top: 0;\n font-size: 16px;\n}\n\nh5 {\n margin-top: 0;\n font-size: 14px;\n}\n\nh6 {\n margin-top: 0;\n font-size: 12px;\n}\n\ncode {\n font-size: 1.2em;\n}\n\nul {\n padding-inline-start: 20px;\n}\n\n* {\n box-sizing: border-box;\n}\n\nbody {\n font-family: sans-serif;\n margin: 20px;\n padding: 0;\n}\n\n.square {\n border: 1px solid #999;\n float: left;\n font-size: 24px;\n font-weight: bold;\n line-height: 34px;\n height: 34px;\n margin-right: -1px;\n margin-top: -1px;\n padding: 0;\n text-align: center;\n width: 34px;\n}\n\n.board-row:after {\n clear: both;\n content: '';\n display: table;\n}\n\n.status {\n margin-bottom: 10px;\n}\n.game {\n display: flex;\n flex-direction: row;\n}\n\n.game-info {\n margin-left: 20px;\n}\n\n.arrow {\n font-size: '20px';\n padding: '10px';\n cursor: 'pointer';\n}"],"names":[],"sourceRoot":""}
|
File diff suppressed because one or more lines are too long
|
@ -1,39 +0,0 @@
|
|||
/**
|
||||
* @license React
|
||||
* react-dom.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react-jsx-runtime.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* react.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @license React
|
||||
* scheduler.production.min.js
|
||||
*
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
File diff suppressed because one or more lines are too long
16
docker-compose.yml
Normal file
16
docker-compose.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
image: node:23-alpine
|
||||
container_name: learn-react
|
||||
working_dir: /root/ReactLearn
|
||||
volumes:
|
||||
- ./app:/root/ReactLearn
|
||||
ports:
|
||||
- "58701:4000"
|
||||
command: sh -c "apk add --no-cache yarn && yarn install && yarn build && yarn global add serve && serve -s build -l 4000"
|
||||
|
||||
volumes:
|
||||
app:
|
||||
driver: local
|
Loading…
Reference in a new issue