Skip to content

Commit

Permalink
fix: update Dockerfile to install pipenv in system environment and ch…
Browse files Browse the repository at this point in the history
…ange entrypoint
  • Loading branch information
ImBIOS committed Feb 16, 2025
1 parent f20762d commit 7fedf7e
Show file tree
Hide file tree
Showing 2 changed files with 73 additions and 70 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ WORKDIR /waka-readme-stats
COPY Pipfile Pipfile.lock ./

# Install pipenv and dependencies into the system environment
# RUN pip install pipenv && \
# pipenv install --deploy --system
RUN pip install pipenv && \
pipenv install
pipenv install --deploy --system

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

ENTRYPOINT ["pipenv", "run", "python3", "sources/main.py"]
ENTRYPOINT ["python3", "sources/main.py"]
137 changes: 71 additions & 66 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7fedf7e

Please sign in to comment.