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:
commit
92e6fea00f
18
Dockerfile
18
Dockerfile
@ -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
|
||||
|
||||
|
@ -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
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user