Docker environment to create SimplyCode applications in.
To use the docker image, pull it from the GitHub Container Registry (ghcr.io).
A latest version is not tagged for various reasons. To use the latest version, use the main tag:
docker pull ghcr.io/simplyedit/simplycode-docker:mainVersioned images are also available:
docker pull ghcr.io/simplyedit/simplycode-docker:v0.5.0For most use cases, the following command should be enough:
docker run \
--env "USER_GID=$(id -g)" \
--env "USER_ID=$(id -u)" \
--interactive \
--rm \
--tty \
--volume "${PWD}:/var/www/www/api/data" \
ghcr.io/simplyedit/simplycode-docker:mainThis will mount the current working directory into the docker image at the right place, and start the SimplyCode server.
When using Docker Desktop, it is advised to use the --publish-all flag to make the SimplyCode server available on the host machine.
That way, the SimplyCode server can be accessed by using the "Open in Browser" button in Docker Desktop.
Feedback and contributions are welcome. Please open an issue or pull request.
This repository should not have any significant code.
Currently, the only code is:
Dockerfilethat builds a docker image with SimplyCode installedentrypoint.shthat is used to run SimplyCode in the Docker image (and do some checks).github/workflows/publish.ymlGitHub workflow that builds and publishes the docker image
Created by SimplyEdit under an MIT License.
