mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Automated Dockerhub Readme updates
This commit is contained in:
30
Dockerfile-pypi
Normal file
30
Dockerfile-pypi
Normal file
@@ -0,0 +1,30 @@
|
||||
FROM python:3-alpine
|
||||
|
||||
# Based on the work of Jonathan Boeckel <jonathanboeckel1996@gmail.com>
|
||||
# https://gitlab.com/Joniator/docker-maloja
|
||||
# https://github.com/Joniator
|
||||
|
||||
ARG MALOJA_RELEASE
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
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==$MALOJA_RELEASE && \
|
||||
apk del .build-deps
|
||||
|
||||
RUN apk add --no-cache tzdata
|
||||
|
||||
EXPOSE 42010
|
||||
|
||||
# expected behavior for a default setup is for maloja to "just work"
|
||||
ENV MALOJA_SKIP_SETUP=yes
|
||||
|
||||
ENTRYPOINT ["maloja", "run"]
|
||||
Reference in New Issue
Block a user