1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Merge branch 'master' of github.com:krateng/maloja

This commit is contained in:
Krateng 2020-06-06 16:46:39 +02:00
commit 92e6fea00f
2 changed files with 13 additions and 7 deletions

View File

@ -1,12 +1,18 @@
FROM python:3.6-alpine
FROM python:3-alpine
WORKDIR /usr/src/app
RUN apk update
RUN apk add gcc libxml2-dev libxslt-dev py3-pip libc-dev linux-headers
RUN pip3 install psutil
RUN pip3 install malojaserver
RUN apk add --no-cache --virtual .build-deps \
gcc \
libxml2-dev \
libxslt-dev \
py3-pip \
libc-dev \
linux-headers \
&& \
pip3 install psutil && \
pip3 install malojaserver && \
apk del .build-deps
EXPOSE 42010

View File

@ -59,7 +59,7 @@ I can support you with issues best if you use **Alpine Linux**. In my experience
5) (Recommended) Until I have a proper service implemented, I would recommend setting two cronjobs for maloja:
```
@reboot maloja start
@reboot sleep 15 && maloja start
42 0 * * * maloja restart
```