Skip to content

Commit

Permalink
solved GetTogetherComm#288, added docs api url, solved docker issue w…
Browse files Browse the repository at this point in the history
…hen creating container
vpistis committed Sep 23, 2020
1 parent 050e0b3 commit 9ccfa71
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -2,13 +2,13 @@ FROM python:3-alpine as builder

WORKDIR /home/python

RUN apk add --no-cache zlib-dev build-base python-dev jpeg-dev
RUN apk add --no-cache zlib-dev build-base python3-dev jpeg-dev
RUN pip install virtualenv
RUN virtualenv venv

ADD requirements.txt /home/python/
RUN venv/bin/pip install --no-cache-dir -r requirements.txt
RUN virtualenv --relocatable venv/
#RUN virtualenv --relocatable venv/

ADD . /home/python/
RUN venv/bin/python manage.py migrate
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -2,8 +2,9 @@ black==19.3b0
certifi==2017.11.5
chardet==3.0.4
click==6.7
coreapi==2.3.3
decorator==4.2.1
defusedxml==0.5.0
defusedxml==0.6.0
dj-database-url==0.4.2
Django==2.0.12
django-appconf==1.0.2
@@ -26,7 +27,7 @@ model-mommy==1.5.1
oauthlib==2.0.6
pbr==4.0.4
pilkit==2.0
Pillow==6.2.0
Pillow==6.2.1
pre-commit==1.15.2
PyJWT==1.5.3
python-dateutil==2.7.2

0 comments on commit 9ccfa71

Please sign in to comment.