Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile and GH repo package #303

Closed
wants to merge 0 commits into from
Closed

Add Dockerfile and GH repo package #303

wants to merge 0 commits into from

Conversation

Drogon-The-Dread
Copy link

@Drogon-The-Dread Drogon-The-Dread commented Jun 17, 2023

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

@Drogon-The-Dread Drogon-The-Dread marked this pull request as ready for review June 17, 2023 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant