You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read tutorial [Building Online Code Editor with React and Express](https://jojozhuang.github.io/tutorial/building-online-code-editor-with-react-and-express) to learn how this online code editor is built.
47
+
48
+
49
+
# Docker
50
+
Build for production. All the compiled html files and js files will be generated in `dist`.
51
+
```sh
52
+
npm run build
53
+
```
54
+
Create image with nginx.
55
+
```sh
56
+
docker build -t jojozhuang/code-editor .
57
+
```
58
+
Create container.
59
+
```sh
60
+
docker run --name code-editor -p 9010:80 -d jojozhuang/code-editor
0 commit comments