Skip to content

Commit 2187b4f

Browse files
author
Andres Vargas
committed
update requirements
1 parent 7efce72 commit 2187b4f

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM python:3
2+
ENV PYTHONUNBUFFERED 1
3+
RUN mkdir /code
4+
WORKDIR /code
5+
COPY requirements.txt /code/
6+
RUN pip install -r requirements.txt
7+
COPY . /code/
8+
EXPOSE 8000
9+
RUN python manage.py migrate
10+
RUN python manage.py seed core
11+
CMD ["python","manage.py","gunicorn", "-b","0:8000"]

app/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
'js_routes',
4242
'inertia',
4343
'django_seed',
44+
'django_webserver',
4445
]
4546

4647
MIDDLEWARE = [

requirements.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ django-js-routes
33
django-seed
44
django-test-plus
55
marshmallow
6-
git+https://github.com/zodman/inertia-django.git
6+
inertia-django
7+
gunicorn

requirements.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,19 @@
55
# pip-compile --output-file=requirements.txt
66
#
77
asgiref==3.2.3 # via django
8-
git+https://github.com/zodman/inertia-django.git
98
django-js-routes==0.1.3
109
django-seed==0.2.2
1110
django-test-plus==1.4.0
1211
django==3.0.3
1312
faker==4.0.0 # via django-seed
13+
gunicorn==20.0.4
14+
inertia-django==0.2.2
1415
marshmallow==3.4.0
1516
python-dateutil==2.8.1 # via faker
1617
pytz==2019.3 # via django
1718
six==1.14.0 # via python-dateutil
1819
sqlparse==0.3.0 # via django
1920
text-unidecode==1.3 # via faker
21+
22+
# The following packages are considered to be unsafe in a requirements file:
23+
# setuptools

0 commit comments

Comments
 (0)