Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leejoneshane/docker-scratch3
https://github.com/leejoneshane/docker-scratch3
docker-image scratch3
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/leejoneshane/docker-scratch3
- Owner: leejoneshane
- License: gpl-3.0
- Created: 2017-04-17T02:11:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-01-07T06:01:57.000Z (almost 4 years ago)
- Last Synced: 2024-07-10T07:52:11.360Z (6 months ago)
- Topics: docker-image, scratch3
- Language: Dockerfile
- Size: 112 MB
- Stars: 15
- Watchers: 5
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-scratch3
This is a Docker image build for Scratch3 editor on node.js server.
Scratch GUI is a set of React components that comprise the interface for creating and running Scratch 3.0 projects. More detail see https://github.com/LLK/scratch-gui
To run the editor, you must mapping tcp 80 port when run the container first time, use command below:
```
docker run -p 80:80 --name scratch -d leejoneshane/docker-scratch3
```
If the dev server is running then go to http://docker_host_ip/If you want to change the web dev server confugure, you should copy the container's VOLUME data first, command below:
```
docker cp scratch:/usr/src/app /root/scratch3
```
Then edit the /root/scratch-vm/webpack.config.js change the webpack-dev-server configuration.
The next step, you must remove old container and run a new container with -v, command below:
```
docker run --name scratch -v /root/scratch3:/usr/src/app -d leejoneshane/docker-scratch3
```