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

Update Dockerfile

Updated to python package
This commit is contained in:
krateng 2020-02-26 15:09:53 +01:00 committed by GitHub
parent 2004f7690f
commit a97a5e2fbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,12 @@
FROM python:slim
FROM python:3.6-alpine
WORKDIR /usr/src/app
RUN apt-get update -y
RUN apt-get install gcc -y
RUN apk update
RUN apk add gcc libxml2-dev libxslt-dev py3-pip libc-dev
COPY requirements.txt .
RUN pip3 install -r requirements.txt
RUN pip3 install malojaserver
EXPOSE 42010
COPY . .
ENTRYPOINT ./maloja start
ENTRYPOINT maloja start