Skip to content
Snippets Groups Projects
Dockerfile 412 B
Newer Older
  • Learn to ignore specific revisions
  • FROM python:3.10
    
    # Install required system dependencies
    RUN apt-get update
    RUN apt-get install -y --no-install-recommends build-essential libldap2-dev libsasl2-dev ldap-utils libpq-dev
    
    
    COPY . /project-allocator
    WORKDIR project-allocator
    
    # Install python packages
    RUN pip install --upgrade pip && pip install -r requirements.txt
    
    # Start server
    CMD ["gunicorn", "--config", "gunicorn_config.py", "wsgi:app"]