Skip to content

Commit

Permalink
Building install the requirements from the requirements.txt first
Browse files Browse the repository at this point in the history
  • Loading branch information
frankcorneliusmartin committed Nov 2, 2022
1 parent e5e8450 commit eee6554
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker/node-and-server.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,16 @@ RUN CFLAGS="-I/usr/local/opt/openssl/include" \
UWSGI_PROFILE_OVERRIDE=ssl=true \
pip install uwsgi -Iv

# install vantage from source

# copy source
COPY . /vantage6

# install requirements. We cannot rely on setup.py because of the way
# python resolves package versions. To control all dependencies we install
# them from the requirements.txt
RUN pip install -r /vantage6/requirements.txt

# install individual packages
RUN pip install -e /vantage6/vantage6-common
RUN pip install -e /vantage6/vantage6-client
RUN pip install -e /vantage6/vantage6
Expand Down

0 comments on commit eee6554

Please sign in to comment.