partitioncloud-server/Dockerfile
2024-02-25 15:56:40 +01:00

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"]