Skip to content
Snippets Groups Projects
Select Git revision
  • eda5561c2d92eaacc4da30f1fc23c89e3b8e20f7
  • master default
  • clement
  • fix_requirements
  • new_signup
  • interface_admin
  • hamza
  • dev
  • test
  • melissa
  • context_sheet
  • sorties_new
  • Seon82-patch-2
  • export_bdd
  • refactor/participation-user-link
15 results

Dockerfile

Blame
  • Dockerfile 382 B
    FROM python:3.8
    WORKDIR /var/www/oser-backend
    COPY . .
    VOLUME [ "/var/www/oser-backend" ]
    ENV DEBIAN_FRONTEND=noninteractive 
    RUN apt update && apt install -y build-essential postgresql libpq-dev python3-dev git
    RUN python3 -m pip install -r requirements.txt
    EXPOSE 8000
    CMD python3 manage.py makemigrations && python3 manage.py migrate && python3 manage.py runserver 0.0.0.0:8000