Separated Core App

This commit is contained in:
Kasra Bigdeli
2019-01-11 21:57:33 -08:00
parent d0bfe379bf
commit c936b54ca0
405 changed files with 10 additions and 30406 deletions

13
dockerfiles/python-django Normal file
View File

@@ -0,0 +1,13 @@
RUN apk update && apk upgrade && \
apk add --no-cache make g++ bash git openssh postgresql-dev curl
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY ./requirements.txt /usr/src/app/
RUN pip install --no-cache-dir -r requirements.txt
COPY ./ /usr/src/app
EXPOSE 80
CMD ["python", "manage.py", "runserver", "0.0.0.0:80"]