File tree 5 files changed +9
-20
lines changed
5 files changed +9
-20
lines changed Original file line number Diff line number Diff line change
1
+ .git
2
+ .coverage
Original file line number Diff line number Diff line change 1
- FROM ubuntu:14.04
2
-
3
- COPY ./requirements.txt /opt/minicomi/requirements.txt
4
- COPY ./docker/install.sh /opt/minicomi/docker/install.sh
5
- WORKDIR /opt/minicomi
1
+ FROM python:3.4.3
6
2
7
3
ENV DJANGO_SETTINGS_MODULE=minicomi.settings.production
8
4
ENV MINICOMI_DATABASE_NAME=minicomi
9
5
ENV MINICOMI_DATABASE_USER=minicomi
10
6
11
- RUN docker/install.sh
7
+ COPY ./requirements.txt /opt/minicomi/requirements.txt
8
+ WORKDIR /opt/minicomi
9
+
10
+ RUN pip install -r requirements.txt
12
11
13
12
COPY . /opt/minicomi
14
13
15
- RUN docker/post-install.sh
14
+ RUN python manage.py collectstatic --noinput
16
15
17
16
EXPOSE 5000
18
17
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 67
67
68
68
if [ " $1 " = ' start' ];
69
69
then
70
- python3 manage.py migrate
70
+ python manage.py migrate
71
71
72
72
exec gunicorn \
73
73
--workers=2 \
You can’t perform that action at this time.
0 commit comments