Skip to content

Commit

Permalink
Install setuptools in Makefile, rm from Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
catileptic committed Nov 21, 2023
1 parent fca3d4f commit f56e36a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ ENV LANG='en_US.UTF-8'

COPY . /opt/servicelayer
WORKDIR /opt/servicelayer

RUN pip3 install --no-cache-dir --prefer-binary --upgrade pip
RUN pip3 install --no-cache-dir --prefer-binary --upgrade setuptools wheel
RUN pip3 install --no-cache-dir --prefer-binary -r requirements.txt
RUN pip3 install -q --no-cache-dir --config-settings editable_mode=compat --use-pep517 -e /opt/servicelayer[dev]
RUN pip3 install -q --no-cache-dir -e /opt/servicelayer[dev]
RUN pip3 install -r requirements.txt

CMD /bin/bash
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ install:
pip install -q twine coverage nose moto boto3

dev:
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade pip setuptools
python3 -m pip install -q -r requirements.txt
python3 -m pip install -q -r requirements-dev.txt

Expand Down

0 comments on commit f56e36a

Please sign in to comment.