Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wanghao75 opened this issue Aug 31, 2022 · 1 comment
Open

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

wanghao75 opened this issue Aug 31, 2022 · 1 comment

Comments

@wanghao75
Copy link

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants