Separate dev and prod requirements
This commit is contained in:
parent
300921704d
commit
9bf3f20f24
@ -1,7 +1,7 @@
|
||||
FROM python:3.6
|
||||
COPY ./ /access_controller
|
||||
WORKDIR /access_controller/
|
||||
RUN pip install -r requirements.txt
|
||||
RUN pip install -r requirements/prod.txt
|
||||
RUN python manage.py makemigrations
|
||||
EXPOSE 8000
|
||||
COPY start.sh /var/
|
||||
|
@ -1,15 +1 @@
|
||||
# Engine
|
||||
Django==3.1.6
|
||||
Pillow==8.1.0
|
||||
zenpy~=2.0.24
|
||||
django_registration==3.1.1
|
||||
djangorestframework==3.12.2
|
||||
daphne==3.0.1
|
||||
|
||||
|
||||
# Documentation
|
||||
Sphinx==3.4.3
|
||||
sphinx-rtd-theme==0.5.1
|
||||
sphinx-autodoc-typehints==1.11.1
|
||||
pyenchant==3.2.0
|
||||
sphinxcontrib-spelling==7.1.0
|
||||
-r requirements/dev.txt
|
||||
|
16
requirements/common.txt
Normal file
16
requirements/common.txt
Normal file
@ -0,0 +1,16 @@
|
||||
# Contains requirements common to all environments
|
||||
|
||||
# Engine
|
||||
Django==3.1.6
|
||||
Pillow==8.1.0
|
||||
zenpy~=2.0.24
|
||||
django_registration==3.1.1
|
||||
djangorestframework==3.12.2
|
||||
|
||||
|
||||
# Documentation
|
||||
Sphinx==3.4.3
|
||||
sphinx-rtd-theme==0.5.1
|
||||
sphinx-autodoc-typehints==1.11.1
|
||||
pyenchant==3.2.0
|
||||
sphinxcontrib-spelling==7.1.0
|
3
requirements/dev.txt
Normal file
3
requirements/dev.txt
Normal file
@ -0,0 +1,3 @@
|
||||
# Development specific dependencies
|
||||
-r common.txt
|
||||
|
5
requirements/prod.txt
Normal file
5
requirements/prod.txt
Normal file
@ -0,0 +1,5 @@
|
||||
# Production specific dependencies
|
||||
-r common.txt
|
||||
|
||||
daphne==3.0.1
|
||||
Twisted[tls,http2]==21.2.0
|
Loading…
x
Reference in New Issue
Block a user