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:
parent
2004f7690f
commit
a97a5e2fbf
12
Dockerfile
12
Dockerfile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user