mirror of
https://github.com/partitioncloud/partitioncloud-server.git
synced 2025-01-23 09:16:25 +01:00
16 lines
284 B
Docker
16 lines
284 B
Docker
|
FROM python:latest
|
||
|
|
||
|
WORKDIR /app
|
||
|
EXPOSE 5000
|
||
|
|
||
|
COPY . /app
|
||
|
RUN apt-get update
|
||
|
RUN apt-get install -y python3-pip sqlite3 ghostscript
|
||
|
|
||
|
RUN rm /app/instance -rf
|
||
|
RUN bash make.sh init
|
||
|
RUN pip3 install -r requirements.txt
|
||
|
RUN pip3 install gunicorn
|
||
|
|
||
|
|
||
|
CMD [ "bash", "make.sh" , "production"]
|