Sign inSign up

thobs/bu_django_api

By thobs

•Updated almost 6 years ago

Image
0

129

thobs/bu_django_api repository overview

FROM python:latest

RUN apt-get install git RUN pip install djangorestframework RUN pip install markdown RUN pip install django-filter RUN pip install django-cors-headers

RUN pip install requests RUN pip install pymongo RUN pip install bson

⁠Create a directory

RUN mkdir -p /app

⁠Chaneg working directory

WORKDIR /app

⁠Create the project

RUN django-admin startproject bu_api .

⁠Expose the port

EXPOSE "8888"

⁠Run project

CMD ["python", "manage.py", "runserver", "0.0.0.0:8888"]

Tag summary

Content type

Image

Digest

Size

348 MB

Last updated

almost 6 years ago

docker pull thobs/bu_django_api