Skip to content

Commit 7fedf7e

Browse files
committed
fix: update Dockerfile to install pipenv in system environment and change entrypoint
1 parent f20762d commit 7fedf7e

File tree

2 files changed

+73
-70
lines changed

2 files changed

+73
-70
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ WORKDIR /waka-readme-stats
1515
COPY Pipfile Pipfile.lock ./
1616

1717
# Install pipenv and dependencies into the system environment
18-
# RUN pip install pipenv && \
19-
# pipenv install --deploy --system
2018
RUN pip install pipenv && \
21-
pipenv install
19+
pipenv install --deploy --system
2220

2321
# Copy the source code
2422
COPY sources/ ./sources/
@@ -27,4 +25,4 @@ COPY sources/ ./sources/
2725
RUN git config --global user.name "readme-bot" && \
2826
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
2927

30-
ENTRYPOINT ["pipenv", "run", "python3", "sources/main.py"]
28+
ENTRYPOINT ["python3", "sources/main.py"]

Pipfile.lock

Lines changed: 71 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)