Skip to content

Commit 720c1dc

Browse files
authored
Merge pull request #187 from sgibson91/fix-docker-build
Fix failing CI
2 parents 1718231 + 7c692c1 commit 720c1dc

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,11 @@ jobs:
3131
with:
3232
python-version: ${{ matrix.python_version }}
3333

34-
- name: Install dependencies
34+
- name: Install dependencies and package
3535
run: |
3636
python -m pip install -U pip
3737
python -m pip install -r dev-requirements.txt
38-
39-
- name: Install helm-bot
40-
run: |
41-
python setup.py install
38+
python -m pip install .
4239
4340
- name: Run tests
4441
run: |

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Use a Python 3.9 slim image
1+
# Use a Python slim image
22
FROM python:3.10.13-slim
33

44
# Install gcc
@@ -11,8 +11,8 @@ WORKDIR /app
1111
# Copy repository contents into the working directory
1212
COPY . /app
1313

14-
# Upgrade pip and install dependencies
15-
RUN python setup.py install
14+
# Install package
15+
RUN pip install .
1616

1717
# Set entrypoint
1818
ENTRYPOINT ["helm-bot"]

0 commit comments

Comments
 (0)