Skip to content
Snippets Groups Projects
Select Git revision
  • a9c64f67f4c5b0a53ac45358eeea6edc3ef1b91a
  • main default
  • tp2
  • tp1
  • tp3
  • tp3-correction
  • tp2-correction
  • tp1-correction
  • admins
9 results

calculator.py

Blame
  • Forked from an inaccessible project.
    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