Changeset - ffe8c7416e75
[Not reviewed]
0 1 0
Joel Addison - 2 years ago 2022-03-19 04:38:20
joel@addison.net.au
Adjust dependency install
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
docker/Dockerfile
Show inline comments
...
 
@@ -25,7 +25,7 @@ RUN set -ex \
 
COPY constraints.txt requirements.txt /reqs/
 

	
 
RUN set -ex \
 
    && pip install --no-cache-dir -r /reqs/requirements.txt -c /reqs/constraints.txt \
 
    && pip install --no-cache-dir --no-deps -r /reqs/requirements.txt -c /reqs/constraints.txt \
 
    && apt-get purge -y --auto-remove $buildDeps \
 
    && rm -rf /usr/src/python ~/.cache
 

	
...
 
@@ -33,7 +33,7 @@ COPY . /app/symposion_app
 

	
 
WORKDIR /app/symposion_app
 
RUN set -x \
 
    && pip install -r vendored_requirements.txt -c /reqs/constraints.txt --no-deps
 
    && pip install -r vendored_requirements.txt -c /reqs/constraints.txt
 
RUN set -x \
 
    && DJANGO_SECRET_KEY=1234 STRIPE_PUBLIC_KEY=1234 STRIPE_SECRET_KEY=1234 \
 
       DATABASE_URL="sqlite:////dev/null" python manage.py compilescss
0 comments (0 inline, 0 general)