diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2a49020 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.6-alpine + +WORKDIR /usr/src/app + +RUN apk update +RUN apk add gcc libxml2-dev libxslt-dev py3-pip libc-dev + +RUN pip3 install malojaserver + +EXPOSE 42010 + +ENTRYPOINT maloja run diff --git a/README.md b/README.md index 7c4a30c..38528d4 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,11 @@ Also neat: You can use your **custom artist or track images**. * Otherwise, simply run the command `maloja update` or use `pip`s update mechanic. +### Docker + +There is a Dockerfile in the repo that should work by itself. You can also use the unofficial [Dockerhub repository](https://hub.docker.com/r/foxxmd/maloja) kindly provided by FoxxMD. + + ## How to use ### Basic control