givanz / VvvebJs

Drag and drop page builder library written in vanilla javascript without dependencies or build tools.
https://www.vvveb.com/vvvebjs/editor.html
Apache License 2.0
6.91k stars 1.59k forks source link

Add Dockerfile and GH repo package #303

Closed Drogon-The-Dread closed 1 year ago

Drogon-The-Dread commented 1 year ago

Added a docker file to create a container with VvvebJS cloned running Apache.

Dockerfile contains a mount point to apache so you can mount your website files to them and work on them.

GH actions should build a new image hosted from the repo

With a local image:

docker run -d -p 8080:80 -v /path/to/local/directory:/var/www/html vvvebjs

Replace /path/to/local/directory with the path to the directory on your host machine that you want to mount to the container.

This setup will start the Apache server inside the container and serve the files from the cloned repository. The contents of the mounted directory on the host machine will also be accessible within the container at /var/www/html.

Remote will be along the lines of

docker pull ghcr.io/drogon-the-dread/vvvebjs:sha256-5fcc6e27039e54be77b22ce2b67bc73852a5dc7495db788938ae7152d82296fb.sig