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 support for containerization #13

Closed
zleyyij opened this issue Jun 5, 2024 · 2 comments
Closed

Add support for containerization #13

zleyyij opened this issue Jun 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@zleyyij
Copy link
Contributor

zleyyij commented Jun 5, 2024

End result should mount ./cms-data from the outside, and support the OCI container spec (Docker/Podman)
https://discord.com/channels/749314018837135390/1240828670986162247/1247725710408421387

@zleyyij zleyyij added the enhancement New feature or request label Jun 5, 2024
@zleyyij zleyyij mentioned this issue Jun 5, 2024
@PipeItToDevNull
Copy link
Member

PipeItToDevNull commented Jun 5, 2024

This is based off alpine, the resulting image is 23.7MB.

Example basic usage

cp default.env .env
podman build -t rts-cms .   
podman run --rm -d -v ~/git/rts-cms/:/app/cms-data/ -p 8080:8080 rts-cms

I cannot confirm the webserver is reachable on my mac for some reason

@PipeItToDevNull
Copy link
Member

I tested this on RHEL and it works, so this can be merged
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants