dockerify

Signed-off-by: Naman Sood <mail@nsood.in>
This commit is contained in:
Naman Sood 2024-03-29 02:37:53 -04:00
parent 969291afcd
commit 7cc0d4132c
41 changed files with 34 additions and 5 deletions

View file

@ -14,10 +14,15 @@ Posts will be served as `/title-slug`, and files like `static/random/file/struct
To start the server:
go run .
go run ./cmd/prose
Server will be live on port 8080.
The server can be deployed on a willing host using Docker:
docker build -t prose .
docker run -p 8080:8080 -it prose
## License
The code in this repository (everything other than the contents of `posts/` and `static/`) is licensed under the MIT license; see LICENSE.md. The blog posts themselves are licensed under [CC-BY-ND 4.0](https://creativecommons.org/licenses/by-nd/4.0/).