File tree 3 files changed +14
-7
lines changed
3 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -5,19 +5,21 @@ ENV DEMO_DB_NAME /db.sqlite3
5
5
RUN mkdir -p /app
6
6
WORKDIR /app
7
7
8
- RUN pip install pillow
8
+ RUN pip install \
9
+ pillow \
10
+ "Django<4.0" \
11
+ choice-enum==1.0.0 \
12
+ "django-bootstrap3>=12.0.1" \
13
+ "python-dateutil>=2.8.1" \
14
+ django_extensions
9
15
10
16
COPY . .
11
- RUN pip install django_extensions && \
12
- pip install -e . && \
13
- pip install -e demo
14
-
15
- RUN demo migrate --no-input && \
17
+ RUN pip install . demo/ && \
18
+ demo migrate --no-input && \
16
19
demo loaddata demo/demo/fixtures/users.json && \
17
20
demo loaddata demo/demo/fixtures/picker.json && \
18
21
demo import_picks tests/nfl2019.json
19
22
20
-
21
23
EXPOSE 80
22
24
RUN echo Load at http://localhost:8080
23
25
CMD ["demo" , "runserver" , "0:80" ]
Original file line number Diff line number Diff line change
1
+ include README.rst
2
+ include LICENSE
3
+ include MANIFEST.in
4
+ recursive-include picker/templates/ *
Original file line number Diff line number Diff line change
1
+ recursive-include demo/ *
You can’t perform that action at this time.
0 commit comments