Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

ARG BASE_TAG=alpine

FROM dddecaf/wsgi-base:${BASE_TAG}
FROM dddecaf/wsgi-base:alpine

ARG BASE_TAG=alpine
ARG BUILD_COMMIT
Expand All @@ -36,7 +36,10 @@ COPY requirements ./requirements/

RUN set -eux \
# Add py2neo build dependencies.
&& apk add --no-cache --virtual .build-deps build-base libffi-dev openssl-dev \
&& apk add --no-cache --virtual .build-deps build-base libffi-dev openssl-dev rustup \
# this installs rust components and makes available in the PATH (for py2neo)
&& rustup-init -y \
&& source $HOME/.cargo/env \
&& pip install -r requirements/requirements.txt \
# Remove build dependencies to reduce layer size.
&& rm -rf /root/.cache/pip \
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# Place any service-specific requirements or constraints here. If an addition
# here could benefit all our microservices, consider adding them to `wsgi-base`
# instead.
py2neo==3.1.2
py2neo==2021.1.5
tqdm
Loading