benadida / helios-server

Helios server
http://heliosvoting.org
Apache License 2.0
728 stars 348 forks source link

How can I run this voting system on k8s by using Dockerfile #359

Open wanghao75 opened 2 years ago

wanghao75 commented 2 years ago

I have followed the INSTALL.md steps, but it seems like this voting system can not work. Also, I can not find the Docker image or a Dockerfile for this project. Need Help Please.

RomainL972 commented 1 year ago

Hi, here is a very simple Dockerfile that will make the application work for development :

FROM python:3.6-alpine
RUN apk add libpq-dev gcc musl-dev openldap-dev && mkdir /app
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install -r requirements.txt
COPY . .
EXPOSE 80
CMD python3 manage.py runserver 0.0.0.0:80